aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-08-04 22:56:20 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-08-04 22:56:20 -0400
commit66867b5ac0de96a8072d81108d70c08cea77180e (patch)
treedc99b7f5cef50a23198cc173a40d1a285272dc0e /phpBB
parentedb745e9516b236c370b9d1213598dfac69860c4 (diff)
parentcc87d553d0062767b5ac9c9d4fecef1ca8cd011e (diff)
downloadforums-66867b5ac0de96a8072d81108d70c08cea77180e.tar
forums-66867b5ac0de96a8072d81108d70c08cea77180e.tar.gz
forums-66867b5ac0de96a8072d81108d70c08cea77180e.tar.bz2
forums-66867b5ac0de96a8072d81108d70c08cea77180e.tar.xz
forums-66867b5ac0de96a8072d81108d70c08cea77180e.zip
Merge remote-tracking branch 'cs278/ticket/10303' into develop-olympus
* cs278/ticket/10303: [ticket/10303] Removed HTTP_VERSION code path from send_status_line().
Diffstat (limited to 'phpBB')
-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';