mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
fixing topic deletion and purging
This commit is contained in:
@@ -128,7 +128,7 @@ module.exports = function(Posts) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
plugins.fireHook('action:post.delete', pid);
|
||||
plugins.fireHook('action:post.purge', pid);
|
||||
db.delete('post:' + pid, callback);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user