diff --git a/core/Common.php b/core/Common.php index 5e09c62934296d2ba24a136b921a537a21e35e21..ac913d97ea6e425af934920f0941723924238adb 100644 --- a/core/Common.php +++ b/core/Common.php @@ -11,7 +11,7 @@ namespace Piwik; use Exception; use Piwik\Plugins\UserCountry\LocationProvider\DefaultProvider; use Piwik\Tracker; -use Piwik\Tracker\Cache; +use Piwik\Tracker\Cache as TrackerCache; /** * Contains helper methods used by both Piwik Core and the Piwik Tracking engine. @@ -1211,7 +1211,7 @@ class Common */ public static function getCurrentLocationProviderId() { - $cache = Cache::getCacheGeneral(); + $cache = TrackerCache::getCacheGeneral(); return empty($cache['currentLocationProviderId']) ? DefaultProvider::ID : $cache['currentLocationProviderId'];