aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Memcache
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-03-22 17:19:07 +0100
committerGitHub <noreply@github.com>2023-03-22 17:19:07 +0100
commitc81ea3aa98ce9730dfddd78ef6dfc16581f978f8 (patch)
treeda0f003a51a945cb5e68b28ae28241279190a2d2 /lib/private/Memcache
parentfab390f884719b5904fc089b227de55cc0d136b1 (diff)
downloadnextcloud-server-c81ea3aa98ce9730dfddd78ef6dfc16581f978f8.tar.gz
nextcloud-server-c81ea3aa98ce9730dfddd78ef6dfc16581f978f8.zip
Fix RedisCluster
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'lib/private/Memcache')
-rw-r--r--lib/private/Memcache/Redis.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Memcache/Redis.php b/lib/private/Memcache/Redis.php
index aafa52a4409..b6f96fffba4 100644
--- a/lib/private/Memcache/Redis.php
+++ b/lib/private/Memcache/Redis.php
@@ -84,7 +84,7 @@ class Redis extends Cache implements IMemcacheTTL {
public function clear($prefix = '') {
$prefix = $this->getPrefix() . $prefix . '*';
$keys = $this->getCache()->keys($prefix);
- $deleted = $this->getCache()->unlink($keys);
+ $deleted = $this->getCache()->del($keys);
return (is_array($keys) && (count($keys) === $deleted));
}