r94198 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94197‎ | r94198 | r94199 >
Date:21:00, 10 August 2011
Author:preilly
Status:ok
Tags:
Comment:
fix x-device issue
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -323,8 +323,7 @@
324324 $xDevice = isset( $_SERVER['HTTP_X_DEVICE'] ) ? $_SERVER['HTTP_X_DEVICE'] : '';
325325
326326 if (self::$useFormat === 'mobile' ||
327 - self::$useFormat === 'mobile-wap' ||
328 - isset( $xDevice ) ) {
 327+ self::$useFormat === 'mobile-wap' ) {
329328 $this->getMsg();
330329 $this->disableCaching();
331330 ob_start( array( $this, 'DOMParse' ) );

Status & tagging log