Fatal error: Call to undefined function wfMemc() in includes/Block.php on line 550
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 21 Sep 2008 20:25:21 +0000 (20:25 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 21 Sep 2008 20:25:21 +0000 (20:25 +0000)
includes/Block.php

index 49e4127..528f580 100644 (file)
@@ -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' ) );