Clear any theming prefixed cache on cache buster increase
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
e2b44d199b
commit
e7c3b8da77
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue