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:
8ba0b06
)
CRM-21627: makeMultilingual: update dbLocale to avoid fatal if lcMessages was not...
author
Mathieu Lutfy
<mathieu@bidon.ca>
Sun, 7 Jan 2018 22:30:36 +0000
(17:30 -0500)
committer
Mathieu Lutfy
<mathieu@bidon.ca>
Sun, 7 Jan 2018 22:30:36 +0000
(17:30 -0500)
CRM/Core/I18n/Schema.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/I18n/Schema.php
b/CRM/Core/I18n/Schema.php
index 7efdc5103cd2015de236fa363939f544f26fb213..b795deacabd08f531e1caed4cd459381370951d9 100644
(file)
--- a/
CRM/Core/I18n/Schema.php
+++ b/
CRM/Core/I18n/Schema.php
@@
-107,6
+107,9
@@
class CRM_Core_I18n_Schema {
// update civicrm_domain.locales
$domain->locales = $locale;
$domain->save();
+
+ // CRM-21627 Updates the $dbLocale
+ CRM_Core_BAO_ConfigSetting::applyLocale(Civi::settings($domain->id), $domain->locales);
}
/**