mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
Merge branch 'master' of github.com:designcreateplay/NodeBB
This commit is contained in:
@@ -33,7 +33,7 @@ var fs = require('fs'),
|
||||
} else next();
|
||||
},
|
||||
function(next) {
|
||||
winston.info('[plugins] Sorting hooks to fire in priority sequence');
|
||||
if (global.env === 'development') winston.info('[plugins] Sorting hooks to fire in priority sequence');
|
||||
Object.keys(_self.loadedHooks).forEach(function(hook) {
|
||||
var hooks = _self.loadedHooks[hook];
|
||||
hooks = hooks.sort(function(a, b) {
|
||||
|
||||
Reference in New Issue
Block a user