From 53a48c5aacea52dd6507a45e111a00ccbed0fdaa Mon Sep 17 00:00:00 2001 From: Wouter H Date: Thu, 18 Mar 2021 20:45:52 +0100 Subject: [PATCH] Fix deprecated Redis::delete() (issue #2468) --- CRM/Utils/Cache/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Cache/Redis.php b/CRM/Utils/Cache/Redis.php index d56427d867..87c7361139 100644 --- a/CRM/Utils/Cache/Redis.php +++ b/CRM/Utils/Cache/Redis.php @@ -145,7 +145,7 @@ class CRM_Utils_Cache_Redis implements CRM_Utils_Cache_Interface { */ public function delete($key) { CRM_Utils_Cache::assertValidKey($key); - $this->_cache->delete($this->_prefix . $key); + $this->_cache->del($this->_prefix . $key); return TRUE; } -- 2.25.1