X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=maintenance%2FmigrateUserGroup.php;h=bf8d071ce8ecb0ee88c044e404258a64b4ba999d;hb=6e117a95316aacb98e5268d2c1682e16e9fc9019;hp=703d97f9b5ae594d21953e3ac103fdbc3845993e;hpb=1801936f877aac0728bf654a4b2b7508506a672e;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;