diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-03-07 14:13:36 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-03-09 09:24:07 +0100 |
commit | b14e4ec6a6e856f64a64ca9ae417b665f20ad037 (patch) | |
tree | e6f7ddb78757964014fc775dbb549ec9216b4f04 /lib/private/Server.php | |
parent | a098b578179c1d7c307b1e97a34d15444ee33c35 (diff) | |
download | nextcloud-server-b14e4ec6a6e856f64a64ca9ae417b665f20ad037.tar.gz nextcloud-server-b14e4ec6a6e856f64a64ca9ae417b665f20ad037.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.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 44c107e0cf2..84af87f0d2f 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -963,7 +963,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) { @@ -972,7 +972,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() ); |