summaryrefslogtreecommitdiff
path: root/maintenance/waitForSlave.php
blob: 309d0e7d368026fd2dbff5feafcbc0a7a8a5c979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * @see wfWaitForSlaves()
 * @file
 * @ingroup Maintenance
 */

require_once( "commandLine.inc" );
if ( isset( $args[0] ) ) {
	wfWaitForSlaves($args[0]);
} else {
	wfWaitForSlaves(10);
}