From: Chad Horohoe Date: Sun, 21 Sep 2008 14:25:46 +0000 (+0000) Subject: Helps to actually _put_ the info into $wgMemc... X-Git-Tag: 1.31.0-rc.0~45170 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=561baaedc796c48d103739a341191d617a154d12;p=lhc%2Fweb%2Fwiklou.git Helps to actually _put_ the info into $wgMemc... --- diff --git a/includes/Block.php b/includes/Block.php index 04d7cd4463..b9459d53a6 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -511,6 +511,7 @@ class Block $lines = $wgMemc->get( $key ); if ( !$lines ) { $lines = explode( "\n", wfMsgForContentNoTrans( 'autoblock_whitelist' ) ); + $wgMemc->set( $key, $lines, 3600 * 24 ); } wfDebug("Checking the autoblock whitelist..\n");