X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCache.php;h=f0fb489d647be2072df7858833215937f74cb5ea;hb=eac3023bb4cb6c84ae331fab9602987177774fc5;hp=f54c5e104dbc9f07561d72156078868e4f937886;hpb=59e560215c83e278f1c8d829f52124a83ddc0b95;p=civicrm-core.git diff --git a/CRM/Utils/Cache.php b/CRM/Utils/Cache.php index f54c5e104d..f0fb489d64 100644 --- a/CRM/Utils/Cache.php +++ b/CRM/Utils/Cache.php @@ -180,7 +180,7 @@ class CRM_Utils_Cache { foreach ($types as $type) { switch ($type) { case '*memory*': - if (defined('CIVICRM_DB_CACHE_CLASS') && in_array(CIVICRM_DB_CACHE_CLASS, array('Memcache', 'Memcached'))) { + if (defined('CIVICRM_DB_CACHE_CLASS') && in_array(CIVICRM_DB_CACHE_CLASS, array('Memcache', 'Memcached', 'Redis'))) { $dbCacheClass = 'CRM_Utils_Cache_' . CIVICRM_DB_CACHE_CLASS; $settings = self::getCacheSettings(CIVICRM_DB_CACHE_CLASS); $settings['prefix'] = $settings['prefix'] . '_' . $params['name'];