|
@@ -153,7 +153,6 @@ module.exports = function(crowi, app) {
|
|
|
const getToday = require('../util/getToday');
|
|
const getToday = require('../util/getToday');
|
|
|
|
|
|
|
|
const { configManager, xssService } = crowi;
|
|
const { configManager, xssService } = crowi;
|
|
|
- const interceptorManager = crowi.getInterceptorManager();
|
|
|
|
|
const globalNotificationService = crowi.getGlobalNotificationService();
|
|
const globalNotificationService = crowi.getGlobalNotificationService();
|
|
|
const userNotificationService = crowi.getUserNotificationService();
|
|
const userNotificationService = crowi.getUserNotificationService();
|
|
|
|
|
|
|
@@ -404,7 +403,6 @@ module.exports = function(crowi, app) {
|
|
|
|
|
|
|
|
await addRenderVarsForPageTree(renderVars, portalPath, req.user);
|
|
await addRenderVarsForPageTree(renderVars, portalPath, req.user);
|
|
|
|
|
|
|
|
- await interceptorManager.process('beforeRenderPage', req, res, renderVars);
|
|
|
|
|
return res.render(view, renderVars);
|
|
return res.render(view, renderVars);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -466,7 +464,6 @@ module.exports = function(crowi, app) {
|
|
|
|
|
|
|
|
await addRenderVarsForPageTree(renderVars, path, req.user);
|
|
await addRenderVarsForPageTree(renderVars, path, req.user);
|
|
|
|
|
|
|
|
- await interceptorManager.process('beforeRenderPage', req, res, renderVars);
|
|
|
|
|
return res.render(view, renderVars);
|
|
return res.render(view, renderVars);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -536,7 +533,6 @@ module.exports = function(crowi, app) {
|
|
|
addRenderVarsForPage(renderVars, page);
|
|
addRenderVarsForPage(renderVars, page);
|
|
|
addRenderVarsForScope(renderVars, page);
|
|
addRenderVarsForScope(renderVars, page);
|
|
|
|
|
|
|
|
- await interceptorManager.process('beforeRenderPage', req, res, renderVars);
|
|
|
|
|
return res.render('layout-growi/shared_page', renderVars);
|
|
return res.render('layout-growi/shared_page', renderVars);
|
|
|
};
|
|
};
|
|
|
|
|
|