summaryrefslogtreecommitdiffstats
path: root/lib/private/Security
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-12-15 11:31:13 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-12-18 20:57:11 +0100
commitd2d73f1ce8733623a780db62427c61ff007b33cb (patch)
tree4f8b0497b30a2d86b3b216eaf378b71d6a37e7ab /lib/private/Security
parent5ce943aa8501d6a7240175a934858c26f267f7ca (diff)
downloadnextcloud-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/Security')
-rw-r--r--lib/private/Security/RateLimiting/Backend/MemoryCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Security/RateLimiting/Backend/MemoryCache.php b/lib/private/Security/RateLimiting/Backend/MemoryCache.php
index 212df664c17..700fa624ed4 100644
--- a/lib/private/Security/RateLimiting/Backend/MemoryCache.php
+++ b/lib/private/Security/RateLimiting/Backend/MemoryCache.php
@@ -45,7 +45,7 @@ class MemoryCache implements IBackend {
*/
public function __construct(ICacheFactory $cacheFactory,
ITimeFactory $timeFactory) {
- $this->cache = $cacheFactory->create(__CLASS__);
+ $this->cache = $cacheFactory->createDistributed(__CLASS__);
$this->timeFactory = $timeFactory;
}