mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
breaking: removal of filter:router.page
This commit is contained in:
@@ -91,11 +91,6 @@ middleware.pageView = helpers.try(async (req, res, next) => {
|
||||
});
|
||||
|
||||
middleware.pluginHooks = helpers.try(async (req, res, next) => {
|
||||
// TODO: Deprecate in v2.0
|
||||
await async.each(plugins.loadedHooks['filter:router.page'] || [], (hookObj, next) => {
|
||||
hookObj.method(req, res, next);
|
||||
});
|
||||
|
||||
await plugins.hooks.fire('response:router.page', {
|
||||
req: req,
|
||||
res: res,
|
||||
|
||||
Reference in New Issue
Block a user