mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
log fired hooks
This commit is contained in:
@@ -87,6 +87,7 @@ module.exports = function (Plugins) {
|
||||
|
||||
var hookList = Plugins.loadedHooks[hook];
|
||||
var hookType = hook.split(':')[0];
|
||||
winston.verbose('[plugins/fireHook]', hook);
|
||||
switch (hookType) {
|
||||
case 'filter':
|
||||
fireFilterHook(hook, hookList, params, callback);
|
||||
|
||||
Reference in New Issue
Block a user