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-28 17:35:35 +0200 |
commit | 541bb715134f7bcea522368c0b7ddac6d5b6cf39 (patch) | |
tree | 479fff55a8f2725aa707a73f9163b22eca3cca42 | |
parent | a691b52daf870f816a0b84396d5967e877fcd821 (diff) | |
download | nextcloud-server-541bb715134f7bcea522368c0b7ddac6d5b6cf39.tar.gz nextcloud-server-541bb715134f7bcea522368c0b7ddac6d5b6cf39.zip |
Clear any theming prefixed cache on cache buster increase
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-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(); } /** |