Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/EventDispatcher.php')
-rw-r--r--core/EventDispatcher.php2
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];