This commit is contained in:
Barış Soner Uşaklı
2015-03-13 15:04:24 -04:00
parent eda98a35ea
commit bab8e6a104

View File

@@ -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) {