v1.18.x
Barış Soner Uşaklı 8 years ago
parent 29e868b002
commit ddb83b3eab

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

Loading…
Cancel
Save