diff options
Diffstat (limited to 'core/CacheId.php')
-rw-r--r-- | core/CacheId.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/CacheId.php b/core/CacheId.php index efc3857b1f..0119c458c6 100644 --- a/core/CacheId.php +++ b/core/CacheId.php @@ -8,13 +8,14 @@ */ namespace Piwik; +use Piwik\Container\StaticContainer; use Piwik\Plugin\Manager; class CacheId { public static function languageAware($cacheId) { - return $cacheId . '-' . Translate::getLanguageLoaded(); + return $cacheId . '-' . StaticContainer::get('Piwik\Translation\Translator')->getCurrentLanguage(); } public static function pluginAware($cacheId) |