r94264 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94263‎ | r94264 | r94265 >
Date:18:02, 11 August 2011
Author:preilly
Status:ok
Tags:
Comment:
adding $wgRequest global
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
@@ -49,7 +49,7 @@
5050 $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array( &$wgExtMobileFrontend, 'addMobileFooter' );
5151
5252 class ExtMobileFrontend {
53 - const VERSION = '0.5.16';
 53+ const VERSION = '0.5.17';
5454
5555 /**
5656 * @var DOMDocument
@@ -334,7 +334,7 @@
335335 }
336336
337337 private function setOptInOutCookie( $value ) {
338 - global $wgCookieDomain;
 338+ global $wgCookieDomain, $wgRequest;
339339 $tempWgCookieDomain = $wgCookieDomain;
340340 $wgCookieDomain = $this->getBaseDomain();
341341 $wgRequest->response()->setcookie( 'optin', $value );

Status & tagging log