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-07 15:09:43 +0100
commit50a9beb4bbcfc7baf2a832fef2f6fdf601d8219e (patch)
tree60372d7b8aa33968c652036bcccdbe285b20a1b4 /apps
parent8d865483f4dd98ea234ce392415679a84dda0d0f (diff)
downloadnextcloud-server-50a9beb4bbcfc7baf2a832fef2f6fdf601d8219e.tar.gz
nextcloud-server-50a9beb4bbcfc7baf2a832fef2f6fdf601d8219e.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;
}