X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FremoveUnusedAccounts.php;h=767924fda69086d141605f14d9cabb4bdd50e808;hb=b72c4df18b00b3948f0319fa5b01f969e1b92dbd;hp=c750784e2a08a824df9499edb150528a0af4ad68;hpb=f246973a44ea17eec0dd721e64e0481deb48a8b9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/removeUnusedAccounts.php b/maintenance/removeUnusedAccounts.php index c750784e2a..767924fda6 100644 --- a/maintenance/removeUnusedAccounts.php +++ b/maintenance/removeUnusedAccounts.php @@ -53,7 +53,7 @@ class RemoveUnusedAccounts extends Maintenance { } $touched = $this->getOption( 'ignore-touched', "1" ); if ( !ctype_digit( $touched ) ) { - $this->error( "Please put a valid positive integer on the --ignore-touched parameter.", true ); + $this->fatalError( "Please put a valid positive integer on the --ignore-touched parameter." ); } $touchedSeconds = 86400 * $touched; foreach ( $res as $row ) {