X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FLinkFilter.php;h=99aaaa093aa18dc191b2eb3154d85819edb566aa;hb=e66ee985e0792d2c28ebb0d5b299af5bce87eb9b;hp=340ae8f3984cce97a5a280b30c5e9c5b236b40f1;hpb=bd2a78a159ce6d9f7b27fd75d05570228b44c3cb;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 );