mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
additional tests and proper handling for purged flag targets, #5232
This commit is contained in:
@@ -144,9 +144,6 @@ module.exports = function (Posts) {
|
||||
},
|
||||
function (next) {
|
||||
db.sortedSetsRemove(['posts:pid', 'posts:flagged'], pid, next);
|
||||
},
|
||||
function (next) {
|
||||
flags.dismiss(pid, next);
|
||||
}
|
||||
], function (err) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user