mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 02:36:16 +01:00
closes #5398
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = function (Categories) {
|
||||
purgeCategory(cid, next);
|
||||
},
|
||||
function (next) {
|
||||
plugins.fireHook('action:category.delete', cid);
|
||||
plugins.fireHook('action:category.delete', {cid: cid, uid: uid});
|
||||
next();
|
||||
}
|
||||
], callback);
|
||||
|
||||
Reference in New Issue
Block a user