Merge branch 'ent-5347-Mensaje-de-aviso-de-información-actualizada-erróneo-al-cambiar-el-idioma' into 'develop'

Ent 5347 mensaje de aviso de información actualizada erróneo al cambiar el idioma

See merge request artica/pandorafms!3698
This commit is contained in:
Daniel Rodriguez 2021-03-01 10:41:39 +00:00
commit da15dfc69c
1 changed files with 0 additions and 10 deletions

View File

@ -424,16 +424,6 @@ function get_user_language($id_user=null)
if ($quick_language) {
$language = get_parameter('language', 0);
if (defined('METACONSOLE')) {
if ($id_user == null) {
$id_user = $config['id_user'];
}
if ($language !== 0) {
update_user($id_user, ['language' => $language]);
}
}
if ($language === 'default') {
return $config['language'];
}