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 'core/Tracker/Cache.php')
-rw-r--r--core/Tracker/Cache.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Tracker/Cache.php b/core/Tracker/Cache.php
index 22b57a9cc2..1c333069eb 100644
--- a/core/Tracker/Cache.php
+++ b/core/Tracker/Cache.php
@@ -15,6 +15,8 @@ use Piwik\Common;
use Piwik\Config;
use Piwik\Option;
use Piwik\Piwik;
+use Piwik\Plugin;
+use Piwik\SettingsServer;
use Piwik\Tracker;
/**
@@ -105,6 +107,8 @@ class Cache
$cache->save($cacheId, $content, self::getTtl());
}
+ Tracker::restoreTrackerPlugins();
+
return $content;
}
@@ -160,6 +164,9 @@ class Cache
Piwik::postEvent('Tracker.setTrackerCacheGeneral', array(&$cacheContent));
self::setCacheGeneral($cacheContent);
Common::printDebug("General tracker cache was re-created.");
+
+ Tracker::restoreTrackerPlugins();
+
return $cacheContent;
}