mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 00:56:13 +01:00
This commit is contained in:
@@ -156,7 +156,7 @@ module.exports = function (Categories) {
|
|||||||
async.waterfall([
|
async.waterfall([
|
||||||
function (next) {
|
function (next) {
|
||||||
plugins.fireHook('filter:categories.copyPrivilegesFrom', {
|
plugins.fireHook('filter:categories.copyPrivilegesFrom', {
|
||||||
privileges: privileges.privilegeList,
|
privileges: privileges.privilegeList.slice(),
|
||||||
fromCid: fromCid,
|
fromCid: fromCid,
|
||||||
toCid: toCid,
|
toCid: toCid,
|
||||||
}, next);
|
}, next);
|
||||||
|
|||||||
Reference in New Issue
Block a user