Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array( &$wgExtMobileFrontend, 'addMobileFooter' ); |
51 | 51 | |
52 | 52 | class ExtMobileFrontend { |
53 | | - const VERSION = '0.5.16'; |
| 53 | + const VERSION = '0.5.17'; |
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @var DOMDocument |
— | — | @@ -334,7 +334,7 @@ |
335 | 335 | } |
336 | 336 | |
337 | 337 | private function setOptInOutCookie( $value ) { |
338 | | - global $wgCookieDomain; |
| 338 | + global $wgCookieDomain, $wgRequest; |
339 | 339 | $tempWgCookieDomain = $wgCookieDomain; |
340 | 340 | $wgCookieDomain = $this->getBaseDomain(); |
341 | 341 | $wgRequest->response()->setcookie( 'optin', $value ); |