X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfindHooks.php;h=04c00e27f1855aa6cfc21786d2662b43a50729ce;hb=7603ed763f2aef5b3fe361061440fe5797735fca;hp=fd36db1dd2bc0bbefb1fc57b1bb01eb380ae8154;hpb=0cd28e19cb0f9385a2a1cc11a4d8c9c21ff0b830;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index fd36db1dd2..04c00e27f1 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -143,7 +143,7 @@ class FindHooks extends Maintenance { ) { $this->output( "Looks good!\n" ); } else { - $this->error( 'The script finished with errors.', 1 ); + $this->fatalError( 'The script finished with errors.' ); } } @@ -349,5 +349,5 @@ class FindHooks extends Maintenance { } } -$maintClass = 'FindHooks'; +$maintClass = FindHooks::class; require_once RUN_MAINTENANCE_IF_MAIN;