]> git.mxchange.org Git - friendica.git/commitdiff
- Remove deprecated Redis::delete() function
authorPhilipp Holzer <admin+github@philipp.info>
Tue, 13 Aug 2019 06:54:26 +0000 (08:54 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Tue, 13 Aug 2019 06:54:26 +0000 (08:54 +0200)
src/Core/Cache/RedisCache.php

index 813c91b155865765f1cf4bc354e4f65764e64477..b2638c49f3ef5647831157553cc7db008c2e7b87 100644 (file)
@@ -122,7 +122,7 @@ class RedisCache extends Cache implements IMemoryCache
        public function delete($key)
        {
                $cachekey = $this->getCacheKey($key);
-               return ($this->redis->delete($cachekey) > 0);
+               return ($this->redis->del($cachekey) > 0);
        }
 
        /**