diff --git a/lib/private/Memcache/Redis.php b/lib/private/Memcache/Redis.php index f4094e0bef6..b6f96fffba4 100644 --- a/lib/private/Memcache/Redis.php +++ b/lib/private/Memcache/Redis.php @@ -74,7 +74,7 @@ class Redis extends Cache implements IMemcacheTTL { } public function remove($key) { - if ($this->getCache()->del($this->getPrefix() . $key)) { + if ($this->getCache()->unlink($this->getPrefix() . $key)) { return true; } else { return false; @@ -170,7 +170,7 @@ class Redis extends Cache implements IMemcacheTTL { $this->getCache()->watch($this->getPrefix() . $key); if ($this->get($key) === $old) { $result = $this->getCache()->multi() - ->del($this->getPrefix() . $key) + ->unlink($this->getPrefix() . $key) ->exec(); return $result !== false; }