diff options
-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)); } |