From b9654b61b2dd1cfeb5dbcbdaedd7ca4cb91bd12f Mon Sep 17 00:00:00 2001 From: mattab Date: Thu, 10 Oct 2013 14:55:41 +1300 Subject: Refs #4208 Plugin classes moved --- core/EventDispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/EventDispatcher.php') diff --git a/core/EventDispatcher.php b/core/EventDispatcher.php index 6f3556a11c..66cef418ef 100644 --- a/core/EventDispatcher.php +++ b/core/EventDispatcher.php @@ -80,7 +80,7 @@ class EventDispatcher } if (empty($plugins)) { - $plugins = PluginsManager::getInstance()->getLoadedPlugins(); + $plugins = \Piwik\Plugin\Manager::getInstance()->getLoadedPlugins(); } $callbacks = array(); @@ -88,7 +88,7 @@ class EventDispatcher // collect all callbacks to execute foreach ($plugins as $plugin) { if (is_string($plugin)) { - $plugin = PluginsManager::getInstance()->getLoadedPlugin($plugin); + $plugin = \Piwik\Plugin\Manager::getInstance()->getLoadedPlugin($plugin); } $hooks = $plugin->getListHooksRegistered(); -- cgit v1.2.3