X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmigrateUserGroup.php;h=81c2353b141bffdbb5e4aecb82a7b266e8daedbc;hb=4a45ff5f9296f45108006f066a81320858702fc9;hp=ad82542fb56fba8b306e5a232a89d8a30c8cc1cd;hpb=f5baf27bb89a4306e77e7ad1183791f775888199;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/migrateUserGroup.php b/maintenance/migrateUserGroup.php index ad82542fb5..81c2353b14 100644 --- a/maintenance/migrateUserGroup.php +++ b/maintenance/migrateUserGroup.php @@ -48,7 +48,7 @@ class MigrateUserGroup extends Maintenance { $end = $dbw->selectField( 'user_groups', 'MAX(ug_user)', [ 'ug_group' => $oldGroup ], __FUNCTION__ ); if ( $start === null ) { - $this->error( "Nothing to do - no users in the '$oldGroup' group", true ); + $this->fatalError( "Nothing to do - no users in the '$oldGroup' group" ); } # Do remaining chunk $end += $batchSize - 1;