summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-03-07 14:13:36 +0100
committerJulius Härtl <jus@bitgrid.net>2018-03-07 15:09:43 +0100
commit63e261b4446996d9ba42f09b1c1b17c98f34390f (patch)
tree826aadf76aaca43311af66d5834a662c7db78278 /lib/private/Server.php
parentf652c28b2105792908dc73a414ff21cc135a906d (diff)
downloadnextcloud-server-63e261b4446996d9ba42f09b1c1b17c98f34390f.tar.gz
nextcloud-server-63e261b4446996d9ba42f09b1c1b17c98f34390f.zip
Actually clear cache values for all base urls
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index ed4eb7eb39f..e0bd21b0358 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -965,7 +965,7 @@ class Server extends ServerContainer implements IServerContainer {
$c->getConfig(),
$c->getThemingDefaults(),
\OC::$SERVERROOT,
- $cacheFactory->createDistributed('SCSS-' . md5($this->getURLGenerator()->getBaseUrl()))
+ $this->getMemCacheFactory()
);
});
$this->registerService(JSCombiner::class, function (Server $c) {
@@ -974,7 +974,7 @@ class Server extends ServerContainer implements IServerContainer {
return new JSCombiner(
$c->getAppDataDir('js'),
$c->getURLGenerator(),
- $cacheFactory->createDistributed('JS-' . md5($this->getURLGenerator()->getBaseUrl())),
+ $this->getMemCacheFactory(),
$c->getSystemConfig(),
$c->getLogger()
);