Index: win_installer/templates/update_lams_configuration.sql =================================================================== diff -u -r2fed785311090b1841327cdc98fc7d75c4a4ed52 -r79395d11fc45977759fa4ca9b5c6d0400eb9311d --- win_installer/templates/update_lams_configuration.sql (.../update_lams_configuration.sql) (revision 2fed785311090b1841327cdc98fc7d75c4a4ed52) +++ win_installer/templates/update_lams_configuration.sql (.../update_lams_configuration.sql) (revision 79395d11fc45977759fa4ca9b5c6d0400eb9311d) @@ -11,6 +11,4 @@ update lams_configuration set config_value='@WILDFIRE_USER@' where config_key='XmppAdmin'; update lams_configuration set config_value='@WILDFIRE_PASS@' where config_key='XmppPassword'; update lams_user set login='@LAMS_USER@', password=sha1('@LAMS_PASS@') where user_id=1; -select locale_id from lams_supported_locale where language_iso_code='es' and country_iso_code='ES'; -select locale_id from lams_supported_locale where language_iso_code='@LAMS_LANGUAGE_ISO_CODE@' and country_iso_code='@LAMS_LANGUAGE_ISO_CODE@'; update lams_user set locale_id=(select locale_id from lams_supported_locale where language_iso_code=(SELECT SUBSTRING_INDEX('@LOCALE@', '_', 1)) and country_iso_code=(SELECT SUBSTRING_INDEX('@LOCALE@', '_', -1))) where user_id=1; \ No newline at end of file