From c81ea3aa98ce9730dfddd78ef6dfc16581f978f8 Mon Sep 17 00:00:00 2001 From: Git'Fellow <12234510+solracsf@users.noreply.github.com> Date: Wed, 22 Mar 2023 17:19:07 +0100 Subject: Fix RedisCluster Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> --- lib/private/Memcache/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Memcache') 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)); } -- cgit v1.2.3