mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
closes #5731
This commit is contained in:
@@ -146,7 +146,7 @@ module.exports = function (Posts) {
|
|||||||
deletePostFromGroups(pid, next);
|
deletePostFromGroups(pid, next);
|
||||||
},
|
},
|
||||||
function (next) {
|
function (next) {
|
||||||
db.sortedSetsRemove(['posts:pid', 'posts:flagged'], pid, next);
|
db.sortedSetsRemove(['posts:pid', 'posts:votes', 'posts:flagged'], pid, next);
|
||||||
},
|
},
|
||||||
], function (err) {
|
], function (err) {
|
||||||
next(err);
|
next(err);
|
||||||
|
|||||||
Reference in New Issue
Block a user