mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
refactor: move plugin hook methods to plugin.hooks.*
This commit is contained in:
@@ -38,7 +38,7 @@ Config.setMultiple = async function (socket, data) {
|
||||
key: field,
|
||||
value: data[field],
|
||||
};
|
||||
plugins.fireHook('action:config.set', setting);
|
||||
plugins.hooks.fire('action:config.set', setting);
|
||||
logger.monitorConfig({ io: index.server }, setting);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user