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:
4d20ef5
)
Remove specific code for upgrade from 2.0 to 2.1
author
Samuel Vanhove
<samuel@koumbit.org>
Mon, 22 Jul 2013 20:16:30 +0000
(16:16 -0400)
committer
Samuel Vanhove
<samuel@koumbit.org>
Mon, 22 Jul 2013 20:16:30 +0000
(16:16 -0400)
CRM/Core/BAO/ConfigSetting.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/ConfigSetting.php
b/CRM/Core/BAO/ConfigSetting.php
index 7864add6b3ce532976c817788f18348bfc036d25..2929a53893a4b5eb50c33be379d6f773a4db1d1b 100644
(file)
--- a/
CRM/Core/BAO/ConfigSetting.php
+++ b/
CRM/Core/BAO/ConfigSetting.php
@@
-236,16
+236,6
@@
class CRM_Core_BAO_ConfigSetting {
}
}
- // since language field won't be present before upgrade.
- if (CRM_Core_Config::isUpgradeMode()) {
- // dont add if its empty
- if (!empty($defaults)) {
- // retrieve directory and url preferences also
- CRM_Core_BAO_Setting::retrieveDirectoryAndURLPreferences($defaults);
- }
- return;
- }
-
// check if there are any locale strings
if ($domain->locale_custom_strings) {
$defaults['localeCustomStrings'] = unserialize($domain->locale_custom_strings);