mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
closes #5731
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user