From d2d73f1ce8733623a780db62427c61ff007b33cb Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 15 Dec 2017 11:31:13 +0100 Subject: Also replace all other occurences Signed-off-by: Morris Jobke --- lib/private/URLGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/URLGenerator.php') 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; -- cgit v1.2.3