dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use as strict comparison to check whether an user name was provided in Special:ListFiles
[lhc/web/wiklou.git]
/
maintenance
/
waitForSlave.php
diff --git
a/maintenance/waitForSlave.php
b/maintenance/waitForSlave.php
index
df83928
..
c9b1abb
100644
(file)
--- a/
maintenance/waitForSlave.php
+++ b/
maintenance/waitForSlave.php
@@
-22,7
+22,7
@@
* @see wfWaitForSlaves()
*/
* @see wfWaitForSlaves()
*/
-require_once
( __DIR__ . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
/**
* Maintenance script to wait until slave lag goes under a certain value.
/**
* Maintenance script to wait until slave lag goes under a certain value.
@@
-34,10
+34,11
@@
class WaitForSlave extends Maintenance {
parent::__construct();
$this->addArg( 'maxlag', 'How long to wait for the slaves, default 10 seconds', false );
}
parent::__construct();
$this->addArg( 'maxlag', 'How long to wait for the slaves, default 10 seconds', false );
}
+
public function execute() {
wfWaitForSlaves( $this->getArg( 0, 10 ) );
}
}
$maintClass = "WaitForSlave";
public function execute() {
wfWaitForSlaves( $this->getArg( 0, 10 ) );
}
}
$maintClass = "WaitForSlave";
-require_once
( RUN_MAINTENANCE_IF_MAIN )
;
+require_once
RUN_MAINTENANCE_IF_MAIN
;