From a6c00140835d760fca08e89bc03fd00873ba2842 Mon Sep 17 00:00:00 2001 From: mrgoldy Date: Sat, 30 Nov 2019 15:06:30 +0100 Subject: [PATCH] [ticket/16238] Remove S_REDIRECT_LOGIN work around PHPBB3-16238 --- phpBB/includes/functions.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 40a01fdc0a..45a7cb2def 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4112,18 +4112,6 @@ function page_header($page_title = '', $display_online_list = false, $item_id = // Add form token for login box, in case page is presenting a login form. add_form_key('login', '_LOGIN'); - /** - * Workaround for missing template variable in pre phpBB 3.2.6 styles. - * @deprecated 3.2.7 (To be removed: 4.0.0-a1) - */ - $form_token_login = $template->retrieve_var('S_FORM_TOKEN_LOGIN'); - if (!empty($form_token_login)) - { - $s_login_redirect .= $form_token_login; - // Remove S_FORM_TOKEN_LOGIN as it's already appended to S_LOGIN_REDIRECT - $template->assign_var('S_FORM_TOKEN_LOGIN', ''); - } - // The following assigns all _common_ variables that may be used at any point in a template. $template->assign_vars(array( 'SITENAME' => $config['sitename'],