From 77e3dec271a8d93fc3ad2b1080ff6127f69bd1c8 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Tue, 2 Feb 2016 18:52:10 +0530 Subject: [PATCH] revert #5287 to avoid exception after non-English installation --- install/index.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/install/index.php b/install/index.php index bd989f3ccb..50904532ae 100644 --- a/install/index.php +++ b/install/index.php @@ -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'], -- 2.25.1