From: Sam Reed Date: Wed, 9 Mar 2011 16:37:39 +0000 (+0000) Subject: Followup r83558, r83555 X-Git-Tag: 1.31.0-rc.0~31542 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=e30476fd0cc18caf8092e68d1cc86c29ef461dce;p=lhc%2Fweb%2Fwiklou.git Followup r83558, r83555 Set default of false to $open parameter --- diff --git a/includes/db/LoadBalancer.php b/includes/db/LoadBalancer.php index 3ceb536668..efd37490d6 100644 --- a/includes/db/LoadBalancer.php +++ b/includes/db/LoadBalancer.php @@ -367,7 +367,7 @@ class LoadBalancer { /** * Wait for a given slave to catch up to the master pos stored in $this */ - function doWait( $index, $open ) { + function doWait( $index, $open = false ) { # Find a connection to wait on $conn = $this->getAnyOpenConnection( $index ); if ( !$conn ) {