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
Update PHPDoc types in several maintenance scripts and related
[lhc/web/wiklou.git]
/
maintenance
/
moveBatch.php
diff --git
a/maintenance/moveBatch.php
b/maintenance/moveBatch.php
index
090c3d4
..
9c20c67
100644
(file)
--- a/
maintenance/moveBatch.php
+++ b/
maintenance/moveBatch.php
@@
-86,7
+86,6
@@
class MoveBatch extends Maintenance {
# Setup complete, now start
$dbw = $this->getDB( DB_MASTER );
# Setup complete, now start
$dbw = $this->getDB( DB_MASTER );
- // phpcs:ignore Generic.CodeAnalysis.ForLoopWithTestFunctionCall
for ( $linenum = 1; !feof( $file ); $linenum++ ) {
$line = fgets( $file );
if ( $line === false ) {
for ( $linenum = 1; !feof( $file ); $linenum++ ) {
$line = fgets( $file );
if ( $line === false ) {
@@
-117,7
+116,6
@@
class MoveBatch extends Maintenance {
if ( $interval ) {
sleep( $interval );
}
if ( $interval ) {
sleep( $interval );
}
- wfWaitForSlaves();
}
}
}
}
}
}