revert #5287 to avoid exception after non-English installation
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 2 Feb 2016 13:22:10 +0000 (18:52 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 2 Feb 2016 13:22:10 +0000 (18:52 +0530)
install/index.php

index bd989f3ccb1e8e5a30729db1d410d660efeccc0a..50904532ae88c782d89fa99ef988e4b43fb8b531 100644 (file)
@@ -1400,10 +1400,6 @@ class Installer extends InstallRequirements {
 
         //change the default language to one chosen
         if (isset($config['seedLanguage']) && $config['seedLanguage'] != 'en_US') {
-          // This ensures that defaults get set, otherwise the user will login
-          // and most configurations will be empty, not set to en_US defaults.
-          civicrm_api3('Setting', 'revert');
-
           civicrm_api3('Setting', 'create', array(
               'domain_id' => 'current_domain',
               'lcMessages' => $config['seedLanguage'],