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:
Diffstat (limited to 'plugins/UserCountryMap/Controller.php')
-rw-r--r--plugins/UserCountryMap/Controller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/UserCountryMap/Controller.php b/plugins/UserCountryMap/Controller.php
index 50b2986ae1..f9f52e8233 100644
--- a/plugins/UserCountryMap/Controller.php
+++ b/plugins/UserCountryMap/Controller.php
@@ -11,6 +11,7 @@
use Piwik\Piwik;
use Piwik\Common;
use Piwik\Site;
+use Piwik\Config;
/**
*
@@ -163,7 +164,7 @@ class Piwik_UserCountryMap_Controller extends Piwik_Controller
private function checkUserCountryPluginEnabled()
{
- if (!PluginsManager::getInstance()->isPluginActivated('UserCountry')) {
+ if (!\Piwik\PluginsManager::getInstance()->isPluginActivated('UserCountry')) {
throw new Exception(Piwik_Translate('General_Required', 'Plugin UserCountry'));
}
}