X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmigrateUserGroup.php;h=bf8d071ce8ecb0ee88c044e404258a64b4ba999d;hb=639a3ac6f268c5a016ad32b7e9b80bb1e652583a;hp=703d97f9b5ae594d21953e3ac103fdbc3845993e;hpb=8a95833baed3b8071fcbd8cd2bc8c3449409f665;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/migrateUserGroup.php b/maintenance/migrateUserGroup.php index 703d97f9b5..bf8d071ce8 100644 --- a/maintenance/migrateUserGroup.php +++ b/maintenance/migrateUserGroup.php @@ -100,11 +100,10 @@ class MigrateUserGroup extends Maintenance { $count += $affected; $blockStart += $batchSize; $blockEnd += $batchSize; - wfWaitForSlaves(); } $this->output( "Done! $count users in group '$oldGroup' are now in '$newGroup' instead.\n" ); } } -$maintClass = "MigrateUserGroup"; +$maintClass = MigrateUserGroup::class; require_once RUN_MAINTENANCE_IF_MAIN;