r75479 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75478‎ | r75479 | r75480 >
Date:22:27, 26 October 2010
Author:reedy
Status:ok
Tags:
Comment:
$key used in memcached call is undefined, guess at fix
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1274,7 +1274,7 @@
12751275 array( 'USE INDEX' => 'rc_ip' ) );
12761276 if ( $shared ) {
12771277 # Make a key to store the results
1278 - $wgMemc->set( $key, 'true', 3600 * 24 * 7 );
 1278+ $wgMemc->set( $sTestKey, 'true', 3600 * 24 * 7 );
12791279 return true;
12801280 }
12811281 }

Status & tagging log