Revert r94041: PHP Notice: Undefined index: SERVER_PROTOCOL in /home/ci/cruisecontrol...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 15 Aug 2011 21:04:11 +0000 (21:04 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 15 Aug 2011 21:04:11 +0000 (21:04 +0000)
commit3cfb43ee4f3f783516ec0a6a3cc787b909f0e450
tree79ae17b352e770809eed5157cc376dd6ef2b5ab2
parentaecf8ea39662d55f2b756018b53a99ac1213c8d7
Revert r94041: PHP Notice: Undefined index: SERVER_PROTOCOL in /home/ci/cruisecontrol-bin-2.8.3/projects/mw/source/includes/Exception.php on line 185

This code appears to be trying to output something like 'HTTP/1.1 500 MediaWiki Error', but using $_SERVER['SERVER_PROTOCOL']. And it seems to output it on things that run in phpunit tests.
Seems pretty broken?
includes/Exception.php