Use cache prefix for theming as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
d4d3cecbf8
commit
88e9542d12
|
@ -298,7 +298,7 @@ class ThemingDefaults extends \OC_Defaults {
|
|||
* @return bool
|
||||
*/
|
||||
public function shouldReplaceIcons() {
|
||||
$cache = $this->cacheFactory->createDistributed('theming-');
|
||||
$cache = $this->cacheFactory->createDistributed('theming-' . $this->urlGenerator->getBaseUrl());
|
||||
if($value = $cache->get('shouldReplaceIcons')) {
|
||||
return (bool)$value;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue