r108479 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108478‎ | r108479 | r108480 >
Date:23:57, 9 January 2012
Author:preilly
Status:ok
Tags:
Comment:
change header name
Modified paths:
  • /trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
@@ -46,7 +46,7 @@
4747 self::$acceptBilling = $wgRequest->getVal( 'acceptbilling' );
4848 self::$title = $out->getTitle();
4949
50 - $carrier = $wgRequest->getHeader( 'HTTP_CARRIER' );
 50+ $carrier = $wgRequest->getHeader( 'HTTP_X_CARRIER' );
5151 if ( $carrier !== '(null)') {
5252 self::$renderZeroRatedBanner = true;
5353 }
@@ -802,4 +802,4 @@
803803 public function getVersion() {
804804 return __CLASS__ . ': $Id$';
805805 }
806 -}
\ No newline at end of file
 806+}

Status & tagging log