X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=blobdiff_plain;f=maintenance%2FmigrateUserGroup.php;h=bf8d071ce8ecb0ee88c044e404258a64b4ba999d;hb=f79fe2017a71d8ed73e182c135c5b4aec8f47402;hp=703d97f9b5ae594d21953e3ac103fdbc3845993e;hpb=6f680554ceb988f3895184167d5006d722a0afb3;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;