mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
chore: add missing plugin hook deprecation warning
This commit is contained in:
@@ -6,7 +6,8 @@ const utils = require('../utils');
|
|||||||
|
|
||||||
module.exports = function (Plugins) {
|
module.exports = function (Plugins) {
|
||||||
Plugins.deprecatedHooks = {
|
Plugins.deprecatedHooks = {
|
||||||
'filter:privileges:isUserAllowedTo': 'filter:privileges:isAllowedTo',
|
'filter:privileges:isUserAllowedTo': 'filter:privileges:isAllowedTo', // 👋 @ 1.16.0
|
||||||
|
'filter:router.page': 'response:router.page', // 👋 @ 2.0.0
|
||||||
};
|
};
|
||||||
|
|
||||||
Plugins.internals = {
|
Plugins.internals = {
|
||||||
|
|||||||
Reference in New Issue
Block a user