diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-07-21 12:01:35 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-07-21 12:01:36 +0400 |
commit | aca8ec33a85e0a70b818b6227145041717d7a69e (patch) | |
tree | 41377e3a9737d63222522ef93ecf8483f3faddfa /tests/LocalTracker.php | |
parent | 0a63210e3eae7562af1a3dbee340eb1ee140db3d (diff) |
Refs #4059 Work in progress: Conversion to use Namespaces: Period*, Metrics, Segment, SegmentExpression, PluginsManager.
Removed some deprecated code.
Diffstat (limited to 'tests/LocalTracker.php')
-rwxr-xr-x | tests/LocalTracker.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/LocalTracker.php b/tests/LocalTracker.php index 123dbf94ba..69dd3b2f4d 100755 --- a/tests/LocalTracker.php +++ b/tests/LocalTracker.php @@ -53,7 +53,7 @@ class Piwik_LocalTracker extends PiwikTracker $pluginsTracker = Config::getInstance()->Plugins_Tracker['Plugins_Tracker']; $oldTrackerConfig = Config::getInstance()->Tracker; - PluginsManager::getInstance()->unloadPlugins(); + \Piwik\PluginsManager::getInstance()->unloadPlugins(); // modify config $GLOBALS['PIWIK_TRACKER_MODE'] = true; @@ -94,7 +94,7 @@ class Piwik_LocalTracker extends PiwikTracker unset($_GET['bots']); // reload plugins - PluginsManager::getInstance()->loadPlugins($plugins); + \Piwik\PluginsManager::getInstance()->loadPlugins($plugins); return $output; } |