mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
feat: dont log action:plugins.fireHook
This commit is contained in:
@@ -100,7 +100,9 @@ module.exports = function (Plugins) {
|
||||
}
|
||||
var hookList = Plugins.loadedHooks[hook];
|
||||
var hookType = hook.split(':')[0];
|
||||
winston.verbose('[plugins/fireHook] ' + hook);
|
||||
if (hook !== 'action:plugins.fireHook') {
|
||||
winston.verbose('[plugins/fireHook] ' + hook);
|
||||
}
|
||||
switch (hookType) {
|
||||
case 'filter':
|
||||
fireFilterHook(hook, hookList, params, done);
|
||||
|
||||
Reference in New Issue
Block a user