From: Jens Frank Date: Tue, 3 Oct 2006 18:29:50 +0000 (+0000) Subject: (bug 7458) unstub loop X-Git-Tag: 1.31.0-rc.0~55645 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=3160394344cfb16f750b48266ae9f185ec230782;p=lhc%2Fweb%2Fwiklou.git (bug 7458) unstub loop --- diff --git a/includes/LoadBalancer.php b/includes/LoadBalancer.php index a68e942787..a374c6b6a4 100644 --- a/includes/LoadBalancer.php +++ b/includes/LoadBalancer.php @@ -157,7 +157,7 @@ class LoadBalancer { $i = $this->getRandomNonLagged( $loads ); if ( $i === false && count( $loads ) != 0 ) { # All slaves lagged. Switch to read-only mode - $wgReadOnly = wfMsgNoDB( 'readonly_lag' ); + $wgReadOnly = wfMsgNoDBForContent( 'readonly_lag' ); $i = $this->pickRandom( $loads ); } }