v1.18.x
barisusakli 10 years ago
parent 7225c0d45b
commit c9f990bb72

@ -450,7 +450,7 @@ var fs = require('fs'),
}, callback); }, callback);
} }
function fireStaticHook(hook, hookList, params,callback) { function fireStaticHook(hook, hookList, params, callback) {
async.each(hookList, function(hookObj, next) { async.each(hookList, function(hookObj, next) {
if (typeof hookObj.method === 'function') { if (typeof hookObj.method === 'function') {
hookObj.method(params, next); hookObj.method(params, next);

Loading…
Cancel
Save