This commit is contained in:
Barış Soner Uşaklı
2017-06-01 20:57:50 -04:00
parent 29e868b002
commit ddb83b3eab

View File

@@ -146,7 +146,7 @@ module.exports = function (Posts) {
deletePostFromGroups(pid, next);
},
function (next) {
db.sortedSetsRemove(['posts:pid', 'posts:flagged'], pid, next);
db.sortedSetsRemove(['posts:pid', 'posts:votes', 'posts:flagged'], pid, next);
},
], function (err) {
next(err);