diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index d639252a8..6c1726322 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -88,8 +88,6 @@ if (function_exists('mcrypt_encrypt') || PMA_dl('mcrypt')) { * @uses $GLOBALS['target'] * @uses $GLOBALS['db'] * @uses $GLOBALS['table'] - * @uses $GLOBALS['convcharset'] - * @uses $GLOBALS['lang'] * @uses $GLOBALS['strWelcome'] * @uses $GLOBALS['strSecretRequired'] * @uses $GLOBALS['strError'] @@ -275,18 +273,18 @@ if (top != self) {
@@ -573,10 +571,6 @@ function PMA_auth_set_user() if (strlen($GLOBALS['table'])) { $url_params['table'] = $GLOBALS['table']; } - // Language change from the login panel needs to be remembered - if (! empty($GLOBALS['lang'])) { - $url_params['lang'] = $GLOBALS['lang']; - } // any target to pass? if (! empty($GLOBALS['target']) && $GLOBALS['target'] != 'index.php') { $url_params['target'] = $GLOBALS['target'];