From cc87d553d0062767b5ac9c9d4fecef1ca8cd011e Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 5 Aug 2011 01:17:46 +0100 Subject: [PATCH] [ticket/10303] Removed HTTP_VERSION code path from send_status_line(). PHPBB3-10303 --- phpBB/includes/functions.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 40d07ff770..6b6679bde5 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2708,12 +2708,6 @@ function send_status_line($code, $message) { $version = $_SERVER['SERVER_PROTOCOL']; } - else if (!empty($_SERVER['HTTP_VERSION'])) - { - // I cannot remember where I got this from. - // This code path may never be reachable in reality. - $version = $_SERVER['HTTP_VERSION']; - } else { $version = 'HTTP/1.0';