From 0c3ff0419c81c0901b6a991d70f2e5e709e4a233 Mon Sep 17 00:00:00 2001 From: espipj Date: Mon, 27 May 2019 21:26:44 +0100 Subject: [ticket/16070] Remove unused code PHPBB3-16070 --- phpBB/includes/functions.php | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'phpBB/includes/functions.php') diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 5234c3472d..5ade4854c1 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1843,27 +1843,6 @@ function redirect($url, $return = false, $disable_cd_check = false) garbage_collection(); } - // Redirect via an HTML form for PITA webservers - if (@preg_match('#WebSTAR|Xitami#', getenv('SERVER_SOFTWARE'))) - { - header('Refresh: 0; URL=' . $url); - - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo '' . $user->lang['REDIRECT'] . ''; - echo ''; - echo ''; - echo '
' . sprintf($user->lang['URL_REDIRECT'], '', '') . '
'; - echo ''; - echo ''; - - exit; - } - // Behave as per HTTP/1.1 spec for others header('Location: ' . $url); exit; -- cgit v1.2.1