r41130 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41129‎ | r41130 | r41131 >
Date:20:25, 21 September 2008
Author:ialex
Status:old
Tags:
Comment:
Fatal error: Call to undefined function wfMemc() in includes/Block.php on line 550
Modified paths:
  • /trunk/phase3/includes/Block.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Block.php
@@ -547,7 +547,7 @@
548548
549549 // Try to get the autoblock_whitelist from the cache, as it's faster
550550 // than getting the msg raw and explode()'ing it.
551 - $key = wfMemc( 'ipb', 'autoblock', 'whitelist' );
 551+ $key = wfMemcKey( 'ipb', 'autoblock', 'whitelist' );
552552 $lines = $wgMemc->get( $key );
553553 if ( !$lines ) {
554554 $lines = explode( "\n", wfMsgForContentNoTrans( 'autoblock_whitelist' ) );