X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FLinkFilter.php;h=99aaaa093aa18dc191b2eb3154d85819edb566aa;hb=f61844cbe3dfa15b164573672ed87324aa14a51a;hp=340ae8f3984cce97a5a280b30c5e9c5b236b40f1;hpb=6b5e322a6781488ee388da3160530d70d8b7f4cc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/LinkFilter.php b/includes/LinkFilter.php index 340ae8f398..99aaaa093a 100644 --- a/includes/LinkFilter.php +++ b/includes/LinkFilter.php @@ -92,7 +92,7 @@ class LinkFilter { * @return array Array to be passed to DatabaseBase::buildLike() or false on error */ public static function makeLikeArray( $filterEntry, $protocol = 'http://' ) { - $db = wfGetDB( DB_MASTER ); + $db = wfGetDB( DB_SLAVE ); $target = $protocol . $filterEntry; $bits = wfParseUrl( $target );