aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2011-08-05 01:17:46 +0100
committerChris Smith <toonarmy@phpbb.com>2011-08-05 01:17:57 +0100
commitcc87d553d0062767b5ac9c9d4fecef1ca8cd011e (patch)
treedc99b7f5cef50a23198cc173a40d1a285272dc0e /phpBB/includes/functions.php
parentedb745e9516b236c370b9d1213598dfac69860c4 (diff)
downloadforums-cc87d553d0062767b5ac9c9d4fecef1ca8cd011e.tar
forums-cc87d553d0062767b5ac9c9d4fecef1ca8cd011e.tar.gz
forums-cc87d553d0062767b5ac9c9d4fecef1ca8cd011e.tar.bz2
forums-cc87d553d0062767b5ac9c9d4fecef1ca8cd011e.tar.xz
forums-cc87d553d0062767b5ac9c9d4fecef1ca8cd011e.zip
[ticket/10303] Removed HTTP_VERSION code path from send_status_line().
PHPBB3-10303
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php6
1 files changed, 0 insertions, 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';