From b28e11fee8427bfc8a7de7ff6e5f22954cd325eb Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Tue, 13 Aug 2019 08:54:26 +0200 Subject: [PATCH] - Remove deprecated Redis::delete() function --- src/Core/Cache/RedisCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Cache/RedisCache.php b/src/Core/Cache/RedisCache.php index 813c91b155..b2638c49f3 100644 --- a/src/Core/Cache/RedisCache.php +++ b/src/Core/Cache/RedisCache.php @@ -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); } /** -- 2.39.5