diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-12-15 11:31:13 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-18 20:57:11 +0100 |
commit | d2d73f1ce8733623a780db62427c61ff007b33cb (patch) | |
tree | 4f8b0497b30a2d86b3b216eaf378b71d6a37e7ab /lib/private/URLGenerator.php | |
parent | 5ce943aa8501d6a7240175a934858c26f267f7ca (diff) | |
download | nextcloud-server-d2d73f1ce8733623a780db62427c61ff007b33cb.tar.gz nextcloud-server-d2d73f1ce8733623a780db62427c61ff007b33cb.zip |
Also replace all other occurences
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/URLGenerator.php')
-rw-r--r-- | lib/private/URLGenerator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/URLGenerator.php b/lib/private/URLGenerator.php index 6fd22b99a6b..f7d80d41b4f 100644 --- a/lib/private/URLGenerator.php +++ b/lib/private/URLGenerator.php @@ -151,7 +151,7 @@ class URLGenerator implements IURLGenerator { * Returns the path to the image. */ public function imagePath($app, $image) { - $cache = $this->cacheFactory->create('imagePath-'.md5($this->getBaseUrl()).'-'); + $cache = $this->cacheFactory->createDistributed('imagePath-'.md5($this->getBaseUrl()).'-'); $cacheKey = $app.'-'.$image; if($key = $cache->get($cacheKey)) { return $key; |