summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-03-26 12:28:25 +0200
committerJulius Härtl <jus@bitgrid.net>2018-03-26 12:34:26 +0200
commite7c3b8da771c94f75acdac233b0da690459c4bab (patch)
treedc8c4c97bf5fab1581406f7f48cda9874996f78b /apps
parente2b44d199bea7da74811689ec3ab787135e22de6 (diff)
downloadnextcloud-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.php2
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();
}
/**