mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
removed action:app.load
This commit is contained in:
@@ -129,9 +129,6 @@ var fs = require('fs'),
|
||||
app.render.apply(app, arguments);
|
||||
};
|
||||
|
||||
// Deprecated as of v0.5.0, remove this hook call for NodeBB v0.6.0-1
|
||||
Plugins.fireHook('action:app.load', router, middleware, controllers);
|
||||
|
||||
Plugins.fireHook('static:app.load', {app: app, router: router, middleware: middleware, controllers: controllers}, function() {
|
||||
hotswap.replace('plugins', router);
|
||||
winston.info('[plugins] All plugins reloaded and rerouted');
|
||||
|
||||
Reference in New Issue
Block a user