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>2013-07-20 11:09:46 +0400
committermattab <matthieu.aubry@gmail.com>2013-07-20 11:09:46 +0400
commit0a63210e3eae7562af1a3dbee340eb1ee140db3d (patch)
treec9f7c3a36a4b344b25c12aa04fed0733efb3bfa0 /core/FrontController.php
parent7ca35544d15cdb41b17283e693c8a14777c923ad (diff)
Converting to namespace: Period*, Metrics, Segment, SegmentExpression, PluginsManager
Diffstat (limited to 'core/FrontController.php')
-rw-r--r--core/FrontController.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index a66a093cb8..cda6d1dae2 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -12,6 +12,7 @@ use Piwik\Config;
use Piwik\Piwik;
use Piwik\Common;
use Piwik\Access;
+use Piwik\PluginsManager;
/**
* @see core/PluginsManager.php
@@ -96,7 +97,7 @@ class Piwik_FrontController
throw new Exception("Invalid module name '$module'");
}
- if (!Piwik_PluginsManager::getInstance()->isPluginActivated($module)) {
+ if (!PluginsManager::getInstance()->isPluginActivated($module)) {
throw new Piwik_FrontController_PluginDeactivatedException($module);
}
@@ -246,7 +247,7 @@ class Piwik_FrontController
$this->handleMaintenanceMode();
$this->handleSSLRedirection();
- $pluginsManager = Piwik_PluginsManager::getInstance();
+ $pluginsManager = PluginsManager::getInstance();
$pluginsToLoad = Config::getInstance()->Plugins['Plugins'];
$pluginsManager->loadPlugins($pluginsToLoad);
@@ -273,7 +274,7 @@ class Piwik_FrontController
Piwik_PostEvent('FrontController.dispatchCoreAndPluginUpdatesScreen');
- Piwik_PluginsManager::getInstance()->installLoadedPlugins();
+ PluginsManager::getInstance()->installLoadedPlugins();
// ensure the current Piwik URL is known for later use
if (method_exists('Piwik\Piwik', 'getPiwikUrl')) {