diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-04-23 14:03:51 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-04-23 14:03:51 +0400 |
commit | 9769cdd3fdc0e0427f9ddb62befc7c37200aca8d (patch) | |
tree | 72f3ba4600dc61006cf9716a827d7aee7bf6df3a /tests/LocalTracker.php | |
parent | e2a02e8d4de61022f9d75d10fdabaec23ed15d53 (diff) |
Fixing build
Diffstat (limited to 'tests/LocalTracker.php')
-rwxr-xr-x | tests/LocalTracker.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/LocalTracker.php b/tests/LocalTracker.php index 3afd96b452..ca53f777d0 100755 --- a/tests/LocalTracker.php +++ b/tests/LocalTracker.php @@ -49,7 +49,11 @@ class Piwik_LocalTracker extends PiwikTracker $plugins = Piwik_Config::getInstance()->Plugins['Plugins']; $pluginsTracker = Piwik_Config::getInstance()->Plugins_Tracker['Plugins_Tracker']; $oldTrackerConfig = Piwik_Config::getInstance()->Tracker; - Piwik_PluginsManager::getInstance()->unloadPlugins(); + try { + Piwik_PluginsManager::getInstance()->unloadPlugins(); + } catch(Exception $e) { + // this fails for SegmentEditor for some reasons + } // modify config $GLOBALS['PIWIK_TRACKER_MODE'] = true; |