diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-03-26 12:28:25 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-03-26 12:34:26 +0200 |
commit | e7c3b8da771c94f75acdac233b0da690459c4bab (patch) | |
tree | dc8c4c97bf5fab1581406f7f48cda9874996f78b /apps | |
parent | e2b44d199bea7da74811689ec3ab787135e22de6 (diff) | |
download | nextcloud-server-e7c3b8da771c94f75acdac233b0da690459c4bab.tar.gz nextcloud-server-e7c3b8da771c94f75acdac233b0da690459c4bab.zip |
Clear any theming prefixed cache on cache buster increase
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/theming/lib/ThemingDefaults.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php index 688878bb50a..ce4ab0abb55 100644 --- a/apps/theming/lib/ThemingDefaults.php +++ b/apps/theming/lib/ThemingDefaults.php @@ -320,7 +320,7 @@ class ThemingDefaults extends \OC_Defaults { private function increaseCacheBuster() { $cacheBusterKey = $this->config->getAppValue('theming', 'cachebuster', '0'); $this->config->setAppValue('theming', 'cachebuster', (int)$cacheBusterKey+1); - $this->cacheFactory->createDistributed('theming-')->clear('getScssVariables'); + $this->cacheFactory->createDistributed('theming-')->clear(); } /** |