projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce201a2
)
CRM_Core_Resources - Don't access settings during upgrade mode. (Fix for upgrades...
author
Tim Otten
<totten@civicrm.org>
Fri, 29 Mar 2013 04:48:58 +0000
(
00:48
-0400)
committer
Tim Otten
<totten@civicrm.org>
Fri, 29 Mar 2013 04:53:41 +0000
(
00:53
-0400)
CRM/Core/Resources.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Resources.php
b/CRM/Core/Resources.php
index 55741dcfcc821db97cf90b7d1a413e04deda19d3..a86cfab4679ac3ab3cd270c012af86261217032f 100644
(file)
--- 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;