diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2014-09-10 17:38:05 +0200 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2014-09-10 17:38:05 +0200 |
commit | 51f5c2d09452447f23a590a06c8c2d1320b0a6af (patch) | |
tree | fb5e2ad287f0d9d6377494ce495ad6eb4a83f479 /phpBB/includes/functions.php | |
parent | b2a28962bc614475d223c2353e327f2382be2f2b (diff) | |
download | forums-51f5c2d09452447f23a590a06c8c2d1320b0a6af.tar forums-51f5c2d09452447f23a590a06c8c2d1320b0a6af.tar.gz forums-51f5c2d09452447f23a590a06c8c2d1320b0a6af.tar.bz2 forums-51f5c2d09452447f23a590a06c8c2d1320b0a6af.tar.xz forums-51f5c2d09452447f23a590a06c8c2d1320b0a6af.zip |
[ticket/13042] Remove unused variables
PHPBB3-13042
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 64959a05f3..1de70d4210 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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); |