From: Coleman Watts Date: Sat, 2 Apr 2016 01:32:19 +0000 (-0400) Subject: CRM-17832 - Fix method call to Redis X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6db6aac04bbb6e6d1406c10dffa538263510f03c;p=civicrm-core.git CRM-17832 - Fix method call to Redis --- diff --git a/CRM/Utils/Cache/Redis.php b/CRM/Utils/Cache/Redis.php index 12a4b357be..52cba18690 100644 --- a/CRM/Utils/Cache/Redis.php +++ b/CRM/Utils/Cache/Redis.php @@ -73,7 +73,7 @@ class CRM_Utils_Cache_Redis implements CRM_Utils_Cache_Interface { /** * The actual redis object * - * @var resource + * @var Redis */ protected $_cache; @@ -147,7 +147,7 @@ class CRM_Utils_Cache_Redis implements CRM_Utils_Cache_Interface { * @return mixed */ public function flush() { - return $this->_cache->flush(); + return $this->_cache->flushDB(); } }