diff options
Diffstat (limited to 'core/EventDispatcher.php')
-rw-r--r-- | core/EventDispatcher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/EventDispatcher.php b/core/EventDispatcher.php index 260942baf5..e80c9aff5d 100644 --- a/core/EventDispatcher.php +++ b/core/EventDispatcher.php @@ -107,7 +107,7 @@ class EventDispatcher if (!isset($this->pluginHooks[$pluginName])) { $plugin = $manager->getLoadedPlugin($pluginName); - $this->pluginHooks[$pluginName] = $plugin->getListHooksRegistered(); + $this->pluginHooks[$pluginName] = $plugin->registerEvents(); } $hooks = $this->pluginHooks[$pluginName]; |