X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FmoveBatch.php;h=9c20c67ded3c8dbc292d1358a0c567fbceb66780;hb=5cff7d007a92480dcea7c5fcba726cf23054d7b7;hp=9c53daa360c5ba1ecff58cbfe7b43acf0029186b;hpb=4ad03aa11dacd2f443105e43fd1429398aa73bdc;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/moveBatch.php b/maintenance/moveBatch.php index 9c53daa360..9c20c67ded 100644 --- 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 ); - // phpcs:ignore Generic.CodeAnalysis.ForLoopWithTestFunctionCall for ( $linenum = 1; !feof( $file ); $linenum++ ) { $line = fgets( $file ); if ( $line === false ) { @@ -117,10 +116,9 @@ class MoveBatch extends Maintenance { if ( $interval ) { sleep( $interval ); } - wfWaitForSlaves(); } } } -$maintClass = "MoveBatch"; +$maintClass = MoveBatch::class; require_once RUN_MAINTENANCE_IF_MAIN;