r108424 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108423‎ | r108424 | r108425 >
Date:16:13, 9 January 2012
Author:johnduhart
Status:ok
Tags:
Comment:
Fix for notices we're getting on deployment-prep
Modified paths:
  • /trunk/extensions/CentralAuth/WikiSet.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/WikiSet.php
@@ -220,7 +220,9 @@
221221 global $wgMemc;
222222 $data = array();
223223 foreach ( self::$mCacheVars as $var ) {
224 - $data[$var] = $this->$var;
 224+ if ( isset( $this->$var ) ) {
 225+ $data[$var] = $this->$var;
 226+ }
225227 }
226228 $wgMemc->set( self::memcKey( $this->mId ), $data );
227229 }

Status & tagging log