From: kurund Date: Fri, 5 Apr 2013 16:09:50 +0000 (+0530) Subject: indentation fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ee1d325f585c0e07d7d116ec0573ad9602a5d7ab;p=civicrm-core.git indentation fixes --- 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; }