From: Wouter H Date: Thu, 18 Mar 2021 19:45:52 +0000 (+0100) Subject: Fix deprecated Redis::delete() (issue #2468) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=53a48c5aacea52dd6507a45e111a00ccbed0fdaa;p=civicrm-core.git Fix deprecated Redis::delete() (issue #2468) --- 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; }