X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=maintenance%2FmigrateActors.php;h=edd5dda00247f54c64781252b835187a05083d75;hb=8269ed4dfd5e4395e25945b1fa2ed391684606ed;hp=1657f142b0668f91f7a3a56c20d86c0614bcc212;hpb=dcee65673b531ebe39a093ee0c021a926ea74ad9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/migrateActors.php b/maintenance/migrateActors.php index 1657f142b0..edd5dda002 100644 --- a/maintenance/migrateActors.php +++ b/maintenance/migrateActors.php @@ -55,7 +55,7 @@ class MigrateActors extends LoggedUpdateMaintenance { $this->output( "Creating actor entries for all registered users\n" ); $end = 0; $dbw = $this->getDB( DB_MASTER ); - $max = $dbw->selectField( 'user', 'MAX(user_id)', false, __METHOD__ ); + $max = $dbw->selectField( 'user', 'MAX(user_id)', '', __METHOD__ ); $count = 0; while ( $end < $max ) { $start = $end + 1; @@ -386,7 +386,6 @@ class MigrateActors extends LoggedUpdateMaintenance { list( $n, $display ) = $this->makeNextCond( $dbw, [ $primaryKey ], $lastRow ); $next = [ $n ]; $this->output( "... $display\n" ); - wfWaitForSlaves(); } $this->output(