diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-07 14:59:41 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-07 14:59:41 +0400 |
commit | e6ffa98614f15e9ce7e195f0dbd50f73736e2b26 (patch) | |
tree | 4f5c8e1bd4204f23bb7ee1908b022554ba19d217 /core/EventDispatcher.php | |
parent | 8ffdaf7adb68b0b2daea81dcea3371810e0f9ccb (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.php | 2 |
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(); |