X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2FmigrateComments.php;h=cdecab03c3fdcb9bd2d6be74d61ee8f02aa7df80;hb=5a7e9ba954c9b0556269be941080cd8c8fd10ff0;hp=c35315d71b8d10e7236495d3fde6067587d9cb64;hpb=ad776c7d5f8deee581bf3338c76c6312c3e2933e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/migrateComments.php b/maintenance/migrateComments.php index c35315d71b..cdecab03c3 100644 --- a/maintenance/migrateComments.php +++ b/maintenance/migrateComments.php @@ -205,7 +205,7 @@ class MigrateComments extends LoggedUpdateMaintenance { $next = "$field > $value OR $field = $value AND ($next)"; } } - $prompt = join( ' ', array_reverse( $prompt ) ); + $prompt = implode( ' ', array_reverse( $prompt ) ); $this->output( "... $prompt\n" ); wfWaitForSlaves(); } @@ -282,7 +282,6 @@ class MigrateComments extends LoggedUpdateMaintenance { // Calculate the "next" condition $next = [ $primaryKey . ' > ' . $dbw->addQuotes( $row->$primaryKey ) ]; $this->output( "... {$row->$primaryKey}\n" ); - wfWaitForSlaves(); } $this->output(