X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmigrateComments.php;h=cdecab03c3fdcb9bd2d6be74d61ee8f02aa7df80;hb=c99e9beff7d7c1a5a48f8d6f869a42425021c62b;hp=c35315d71b8d10e7236495d3fde6067587d9cb64;hpb=ee3147729028e025b177ff459a2f1670aef8a247;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(