From: Alexandre Emsenhuber Date: Sun, 21 Sep 2008 20:25:21 +0000 (+0000) Subject: Fatal error: Call to undefined function wfMemc() in includes/Block.php on line 550 X-Git-Tag: 1.31.0-rc.0~45157 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=c8113ad020ee684a9d9ea257678d522490f44ebc;p=lhc%2Fweb%2Fwiklou.git Fatal error: Call to undefined function wfMemc() in includes/Block.php on line 550 --- diff --git a/includes/Block.php b/includes/Block.php index 49e41278c4..528f580c46 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -547,7 +547,7 @@ class Block // Try to get the autoblock_whitelist from the cache, as it's faster // than getting the msg raw and explode()'ing it. - $key = wfMemc( 'ipb', 'autoblock', 'whitelist' ); + $key = wfMemcKey( 'ipb', 'autoblock', 'whitelist' ); $lines = $wgMemc->get( $key ); if ( !$lines ) { $lines = explode( "\n", wfMsgForContentNoTrans( 'autoblock_whitelist' ) );