Followup r83558, r83555
authorSam Reed <reedy@users.mediawiki.org>
Wed, 9 Mar 2011 16:37:39 +0000 (16:37 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 9 Mar 2011 16:37:39 +0000 (16:37 +0000)
Set default of false to $open parameter

includes/db/LoadBalancer.php

index 3ceb536..efd3749 100644 (file)
@@ -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 ) {