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:
authormattab <matthieu.aubry@gmail.com>2014-04-07 14:59:41 +0400
committermattab <matthieu.aubry@gmail.com>2014-04-07 14:59:41 +0400
commite6ffa98614f15e9ce7e195f0dbd50f73736e2b26 (patch)
tree4f5c8e1bd4204f23bb7ee1908b022554ba19d217 /core/EventDispatcher.php
parent8ffdaf7adb68b0b2daea81dcea3371810e0f9ccb (diff)
Refs #4357 only post events to activated plugins.
ticket is not fixed because I think other calls to getLoadedPlugins() should maybeu use this new function getPluginsLoadedAndActivated() instead.
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 b884505177..1202963f59 100644
--- a/core/EventDispatcher.php
+++ b/core/EventDispatcher.php
@@ -64,7 +64,7 @@ class EventDispatcher extends Singleton
}
if (empty($plugins)) {
- $plugins = \Piwik\Plugin\Manager::getInstance()->getLoadedPlugins();
+ $plugins = \Piwik\Plugin\Manager::getInstance()->getPluginsLoadedAndActivated();
}
$callbacks = array();