mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-07 12:51:28 +02:00
closes #2858
This commit is contained in:
@@ -156,7 +156,7 @@ var cache = LRU({
|
||||
}
|
||||
|
||||
if (isDelete) {
|
||||
cache.del(postData.pid);
|
||||
cache.del(pid);
|
||||
posts.delete(pid, callback);
|
||||
} else {
|
||||
posts.restore(pid, function(err, postData) {
|
||||
|
||||
Reference in New Issue
Block a user