mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
docs: update deprecation-removal version for plugin hook helper methods in 1.18.0
This commit is contained in:
@@ -25,7 +25,7 @@ require('./usage')(Plugins);
|
|||||||
Plugins.data = require('./data');
|
Plugins.data = require('./data');
|
||||||
Plugins.hooks = require('./hooks');
|
Plugins.hooks = require('./hooks');
|
||||||
|
|
||||||
// Backwards compatibility for hooks, remove in v2.0.0
|
// Backwards compatibility for hooks, remove in v1.18.0
|
||||||
Plugins.registerHook = Plugins.hooks.register;
|
Plugins.registerHook = Plugins.hooks.register;
|
||||||
Plugins.unregisterHook = Plugins.hooks.unregister;
|
Plugins.unregisterHook = Plugins.hooks.unregister;
|
||||||
Plugins.fireHook = Plugins.hooks.fire;
|
Plugins.fireHook = Plugins.hooks.fire;
|
||||||
|
|||||||
Reference in New Issue
Block a user