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/UserCountry/LocationProvider.php')
-rwxr-xr-xplugins/UserCountry/LocationProvider.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/UserCountry/LocationProvider.php b/plugins/UserCountry/LocationProvider.php
index 5fb24a4dd2..40751b7247 100755
--- a/plugins/UserCountry/LocationProvider.php
+++ b/plugins/UserCountry/LocationProvider.php
@@ -10,6 +10,7 @@
*/
use Piwik\Common;
use Piwik\IP;
+use Piwik\Tracker\Cache;
/**
* @see plugins/UserCountry/LocationProvider/Default.php
@@ -288,7 +289,7 @@ abstract class Piwik_UserCountry_LocationProvider
"Invalid provider ID '$providerId'. The provider either does not exist or is not available");
}
Piwik_SetOption(self::CURRENT_PROVIDER_OPTION_NAME, $providerId);
- Piwik_Tracker_Cache::clearCacheGeneral();
+ Cache::clearCacheGeneral();
return $provider;
}