From 6db6aac04bbb6e6d1406c10dffa538263510f03c Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 1 Apr 2016 21:32:19 -0400 Subject: [PATCH] CRM-17832 - Fix method call to Redis --- CRM/Utils/Cache/Redis.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } } -- 2.25.1