X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmigrateComments.php;h=555f2d13f03b9307d94f7a0783a0ebed85b80e86;hb=200f0ad20f48c3a4d7d6731b38a92d29cfb7d847;hp=cb72c1ec2fd7c814276ecd9b6cdd3365461aa4b7;hpb=63d96c15fde8d4d2842aa50c5ed2ce594aa0c674;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/migrateComments.php b/maintenance/migrateComments.php index cb72c1ec2f..555f2d13f0 100644 --- a/maintenance/migrateComments.php +++ b/maintenance/migrateComments.php @@ -61,9 +61,7 @@ class MigrateComments extends LoggedUpdateMaintenance { ); $this->migrate( 'archive', 'ar_id', 'ar_comment' ); $this->migrate( 'ipblocks', 'ipb_id', 'ipb_reason' ); - $this->migrateToTemp( - 'image', 'img_name', 'img_description', 'imgcomment_name', 'imgcomment_description_id' - ); + $this->migrate( 'image', 'img_name', 'img_description' ); $this->migrate( 'oldimage', [ 'oi_name', 'oi_timestamp' ], 'oi_description' ); $this->migrate( 'filearchive', 'fa_id', 'fa_deleted_reason' ); $this->migrate( 'filearchive', 'fa_id', 'fa_description' ); @@ -282,7 +280,6 @@ class MigrateComments extends LoggedUpdateMaintenance { // Calculate the "next" condition $next = [ $primaryKey . ' > ' . $dbw->addQuotes( $row->$primaryKey ) ]; $this->output( "... {$row->$primaryKey}\n" ); - wfWaitForSlaves(); } $this->output(