dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d66ee3
)
Helps to actually _put_ the info into $wgMemc...
author
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 21 Sep 2008 14:25:46 +0000
(14:25 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 21 Sep 2008 14:25:46 +0000
(14:25 +0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
04d7cd4
..
b9459d5
100644
(file)
--- 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");