From ee1d325f585c0e07d7d116ec0573ad9602a5d7ab Mon Sep 17 00:00:00 2001 From: kurund Date: Fri, 5 Apr 2013 21:39:50 +0530 Subject: [PATCH] indentation fixes --- CRM/Utils/Cache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Utils/Cache.php b/CRM/Utils/Cache.php index 00a8db928c..ac6159cb9f 100644 --- a/CRM/Utils/Cache.php +++ b/CRM/Utils/Cache.php @@ -75,10 +75,10 @@ class CRM_Utils_Cache { // Going forward, CIVICRM_USE_xxxCACHE should be deprecated. if (defined('CIVICRM_USE_MEMCACHE') && CIVICRM_USE_MEMCACHE) { $className = 'Memcache'; - } + } else if (defined('CIVICRM_USE_ARRAYCACHE') && CIVICRM_USE_ARRAYCACHE) { $className = 'ArrayCache'; - } + } else if (defined('CIVICRM_DB_CACHE_CLASS') && CIVICRM_DB_CACHE_CLASS) { $className = CIVICRM_DB_CACHE_CLASS; } @@ -88,7 +88,7 @@ class CRM_Utils_Cache { require_once(str_replace('_', DIRECTORY_SEPARATOR, $dbCacheClass) . '.php'); $settings = self::getCacheSettings($className); self::$_singleton = new $dbCacheClass($settings); - } + } return self::$_singleton; } -- 2.25.1