summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-03-07 15:07:03 +0100
committerJulius Härtl <jus@bitgrid.net>2018-03-09 09:24:52 +0100
commit88e9542d12827461d74fb9d0e72694f5f8911f45 (patch)
treeaca4b57ed888bfc165df2781181daeea7089e7f9 /apps/theming
parentd4d3cecbf8e5cd8ac04d1b451af17eb6b5682534 (diff)
downloadnextcloud-server-88e9542d12827461d74fb9d0e72694f5f8911f45.tar.gz
nextcloud-server-88e9542d12827461d74fb9d0e72694f5f8911f45.zip
Use cache prefix for theming as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming')
-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 986de4b1e86..688878bb50a 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -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;
}