From: Platonides Date: Wed, 20 Apr 2011 15:32:10 +0000 (+0000) Subject: Follow up r86447. Support the $wiki parameter X-Git-Tag: 1.31.0-rc.0~30677 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=1d4e17a91c0afd969489a41c536161ffe7fd7458;p=lhc%2Fweb%2Fwiklou.git Follow up r86447. Support the $wiki parameter --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 15cfb7a94a..8460c8aec1 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3157,7 +3157,7 @@ function wfWarn( $msg, $callerOffset = 1, $level = E_USER_NOTICE ) { * @return null */ function wfWaitForSlaves( $maxLag = false, $wiki = false ) { - $lb = wfGetLB(); + $lb = wfGetLB( $wiki ); // bug 27975 - Don't try to wait for slaves if there are none // Prevents permission error when getting master position if ( $lb->getServerCount() > 1 ) {