Skip to content

Node.js based forum software built for the modern web

chore: remove deprecated plugin hook methods [breaking]

Julian Lamd41de481a474
diff --git a/src/plugins/index.js b/src/plugins/index.js
index 57b9d7aa48..61d5730a40 100644
--- a/src/plugins/index.js
+++ b/src/plugins/index.js
@@ -25,13 +25,6 @@ require('./usage')(Plugins);
Plugins.data = require('./data');
Plugins.hooks = require('./hooks');
-// Backwards compatibility for hooks, remove in v1.17.0
-Plugins.registerHook = Plugins.hooks.register;
-Plugins.unregisterHook = Plugins.hooks.unregister;
-Plugins.fireHook = Plugins.hooks.fire;
-Plugins.hasListeners = Plugins.hooks.hasListeners;
-// end
-
Plugins.getPluginPaths = Plugins.data.getPluginPaths;
Plugins.loadPluginInfo = Plugins.data.loadPluginInfo;