1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-27 11:04:15 +02:00

[ticket/13042] Remove unused variables

PHPBB3-13042
This commit is contained in:
Jakub Senko 2014-09-10 17:38:05 +02:00
parent b2a28962bc
commit 51f5c2d094

View File

@ -2829,8 +2829,6 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa
if ($result['status'] == LOGIN_SUCCESS)
{
$redirect = request_var('redirect', "{$phpbb_root_path}index.$phpEx");
$message = ($l_success) ? $l_success : $user->lang['LOGIN_REDIRECT'];
$l_redirect = ($admin) ? $user->lang['PROCEED_TO_ACP'] : (($redirect === "{$phpbb_root_path}index.$phpEx" || $redirect === "index.$phpEx") ? $user->lang['RETURN_INDEX'] : $user->lang['RETURN_PAGE']);
// append/replace SID (may change during the session for AOL users)
$redirect = reapply_sid($redirect);