X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FwrapOldPasswords.php;h=94bd3cb15bc3db50095316e48abc28a4ee3738e6;hb=d75c150177fbc2c5a818ee6735d41596bb631a8a;hp=6a601ad8b5a8646d496c53d2e09ef6a6f2dd16e1;hpb=9732ccc739b08d057ecd451b7e83674ca6630e20;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/wrapOldPasswords.php b/maintenance/wrapOldPasswords.php index 6a601ad8b5..94bd3cb15b 100644 --- a/maintenance/wrapOldPasswords.php +++ b/maintenance/wrapOldPasswords.php @@ -51,12 +51,12 @@ class WrapOldPasswords extends Maintenance { // Check that type exists and is a layered type if ( !isset( $typeInfo[$layeredType] ) ) { - $this->error( 'Undefined password type', true ); + $this->fatalError( 'Undefined password type' ); } $passObj = $passwordFactory->newFromType( $layeredType ); if ( !$passObj instanceof LayeredParameterizedPassword ) { - $this->error( 'Layered parameterized password type must be used.', true ); + $this->fatalError( 'Layered parameterized password type must be used.' ); } // Extract the first layer type