diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2023-03-22 17:19:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 17:19:07 +0100 |
commit | c81ea3aa98ce9730dfddd78ef6dfc16581f978f8 (patch) | |
tree | da0f003a51a945cb5e68b28ae28241279190a2d2 /lib/private/Memcache | |
parent | fab390f884719b5904fc089b227de55cc0d136b1 (diff) | |
download | nextcloud-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.php | 2 |
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)); } |