From eb89708866e285602dafed8a1b269e5071a1b058 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 29 Mar 2013 00:48:58 -0400 Subject: [PATCH] CRM_Core_Resources - Don't access settings during upgrade mode. (Fix for upgrades from 4.0.0 to 4.3.x.) --- CRM/Core/Resources.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Resources.php b/CRM/Core/Resources.php index 55741dcfcc..a86cfab467 100644 --- a/CRM/Core/Resources.php +++ b/CRM/Core/Resources.php @@ -113,7 +113,7 @@ class CRM_Core_Resources { self::$_singleton = new CRM_Core_Resources( $sys->getMapper(), $cache, - 'resCacheCode' + CRM_Core_Config::isUpgradeMode() ? NULL : 'resCacheCode' ); } return self::$_singleton; -- 2.25.1