r91038 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91037‎ | r91038 | r91039 >
Date:01:23, 29 June 2011
Author:preilly
Status:ok
Tags:
Comment:
add $wgMemc as global
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -48,7 +48,7 @@
4949 'onOutputPageBeforeHTML' );
5050
5151 class ExtMobileFrontend {
52 - const VERSION = '0.5.2';
 52+ const VERSION = '0.5.3';
5353
5454 private $doc;
5555
@@ -103,7 +103,7 @@
104104 );
105105
106106 public function onOutputPageBeforeHTML( &$out, &$text ) {
107 - global $wgContLang, $wgRequest;
 107+ global $wgContLang, $wgRequest, $wgMemc;
108108
109109 // Need to stash the results of the "wfMsg" call before the Output Buffering handler
110110 // because at this point the database connection is shut down, etc.

Status & tagging log