diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-06-27 14:44:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-27 14:44:24 +0300 |
commit | c167963872278ab53d47839567a963dd65bef09e (patch) | |
tree | 0afe6b262d285c45f053e333782ed640d2fafa28 /plugins/PrivacyManager | |
parent | 7a93a2b5ff683e7bb27339502a60c00add9fe26e (diff) |
Provide methods to force the update of tracker caches (#14578)
* Provide methods to force the update of tracker caches
* delete tracker cache more often
* delete only needed cache
* invalidate cache when hosts change
Diffstat (limited to 'plugins/PrivacyManager')
-rw-r--r-- | plugins/PrivacyManager/PrivacyManager.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/PrivacyManager/PrivacyManager.php b/plugins/PrivacyManager/PrivacyManager.php index 8d4704203a..70e7c09bad 100644 --- a/plugins/PrivacyManager/PrivacyManager.php +++ b/plugins/PrivacyManager/PrivacyManager.php @@ -25,6 +25,7 @@ use Piwik\Plugin; use Piwik\Plugins\Goals\Archiver; use Piwik\Plugins\Installation\FormDefaultSettings; use Piwik\Site; +use Piwik\Tracker\Cache; use Piwik\Tracker\GoalManager; use Piwik\View; @@ -318,6 +319,8 @@ class PrivacyManager extends Plugin Option::set($configName, $settings[$configName]); } } + + Cache::deleteTrackerCache(); } /** |