diff options
Diffstat (limited to 'maintenance/waitForSlave.php')
-rw-r--r-- | maintenance/waitForSlave.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/maintenance/waitForSlave.php b/maintenance/waitForSlave.php index 73a47364..309d0e7d 100644 --- a/maintenance/waitForSlave.php +++ b/maintenance/waitForSlave.php @@ -1,12 +1,11 @@ <?php -require_once( "commandLine.inc" ); +/** + * @see wfWaitForSlaves() + * @file + * @ingroup Maintenance + */ -# Don't wait for benet -foreach ( $wgLoadBalancer->mServers as $i => $server ) { - if ( $server['host'] == '10.0.0.29' ) { - unset($wgLoadBalancer->mServers[$i]); - } -} +require_once( "commandLine.inc" ); if ( isset( $args[0] ) ) { wfWaitForSlaves($args[0]); } else { |