summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-03-07 12:10:36 +0100
committerJulius Härtl <jus@bitgrid.net>2018-03-09 09:24:06 +0100
commitc4539c34c9ea78f2bc0fa5c038ebad247fd61fdc (patch)
treefe39ebc5be9484055b283df13cf0e6e87518dfe7 /apps
parentd1547ee3b07b6a553dbbb4bcdd03f0d348b23156 (diff)
downloadnextcloud-server-c4539c34c9ea78f2bc0fa5c038ebad247fd61fdc.tar.gz
nextcloud-server-c4539c34c9ea78f2bc0fa5c038ebad247fd61fdc.zip
Move base url from global cache prefix to frontend related ones
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 94abb4e288a..79995f52efb 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -231,7 +231,7 @@ class ThemingDefaults extends \OC_Defaults {
* @return array scss variables to overwrite
*/
public function getScssVariables() {
- $cache = $this->cacheFactory->createDistributed('theming');
+ $cache = $this->cacheFactory->createDistributed('theming-' . $this->urlGenerator->getBaseUrl());
if ($value = $cache->get('getScssVariables')) {
return $value;
}