wiki.techinc.nl/maintenance/waitForSlave.php
Brion Vibber 1c9773bd01 Revert r52336 "Merge maintenance-work branch:"
Seems to have broken a bunch of stuff. Don't commit giant non-critical changes that break Setup.php and all maint scripts. Thanks!
2009-06-24 02:49:24 +00:00

15 lines
199 B
PHP

<?php
/**
* @see wfWaitForSlaves()
* @file
* @ingroup Maintenance
*/
require_once( "commandLine.inc" );
if ( isset( $args[0] ) ) {
wfWaitForSlaves($args[0]);
} else {
wfWaitForSlaves(10);
}