mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
client/topics.js refactor
ability to dismiss all flags
This commit is contained in:
@@ -27,6 +27,9 @@ module.exports = function(Posts) {
|
||||
},
|
||||
function(next) {
|
||||
removeFromCategoryRecentPosts(pid, postData.tid, next);
|
||||
},
|
||||
function(next) {
|
||||
db.sortedSetRemove('posts:flagged', pid, next);
|
||||
}
|
||||
], function(err) {
|
||||
callback(err, postData);
|
||||
|
||||
Reference in New Issue
Block a user