X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmigrateUserGroup.php;h=bf8d071ce8ecb0ee88c044e404258a64b4ba999d;hb=ea2f3d1c3adfa62b67f905d2795bc997b424a3f8;hp=703d97f9b5ae594d21953e3ac103fdbc3845993e;hpb=1a40e0cc86b6ee0706606ded3ea243dfde4a414c;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;