]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Cache/RedisCache.php
Merge branch 'bug/phpinfo-accessible-hotfix' into develop
[friendica.git] / src / Core / Cache / RedisCache.php
index 9a982fe040d39aac71c397b3fff785cb289da822..5dbb963882917d3be47bed7d0383380cb3b9993d 100644 (file)
@@ -139,7 +139,9 @@ class RedisCache extends BaseCache implements IMemoryCache
        public function delete($key)
        {
                $cachekey = $this->getCacheKey($key);
-               return ($this->redis->del($cachekey) > 0);
+               $this->redis->del($cachekey);
+               // Redis doesn't have an error state for del()
+               return true;
        }
 
        /**