From 561baaedc796c48d103739a341191d617a154d12 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 21 Sep 2008 14:25:46 +0000 Subject: [PATCH] Helps to actually _put_ the info into $wgMemc... --- includes/Block.php | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.20.1