additional tests and proper handling for purged flag targets, #5232

This commit is contained in:
Julian Lam
2016-12-19 11:16:03 -05:00
parent 7b471b76db
commit ad633aad45
7 changed files with 87 additions and 87 deletions

View File

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