X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmanageJobs.php;h=488c91538e7d737620dc563325f3500569b58f8b;hb=c99e9beff7d7c1a5a48f8d6f869a42425021c62b;hp=5f39a3d5ceae4778026e07d45bce7501f7e2b02d;hpb=be0d9f587138a79e8f18bc7b26dd297d708b72c4;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/manageJobs.php b/maintenance/manageJobs.php index 5f39a3d5ce..488c91538e 100644 --- a/maintenance/manageJobs.php +++ b/maintenance/manageJobs.php @@ -48,7 +48,7 @@ class ManageJobs extends Maintenance { } elseif ( $action === 'repush-abandoned' ) { $this->repushAbandoned( $queue ); } else { - $this->error( "Invalid action '$action'.", 1 ); + $this->fatalError( "Invalid action '$action'." ); } } @@ -93,5 +93,5 @@ class ManageJobs extends Maintenance { } } -$maintClass = "ManageJobs"; +$maintClass = ManageJobs::class; require_once RUN_MAINTENANCE_IF_MAIN;