X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=blobdiff_plain;f=maintenance%2FmanageJobs.php;h=488c91538e7d737620dc563325f3500569b58f8b;hb=495e8ddf7e6940777f3318a1a2e37d85bfdbdbf1;hp=5f39a3d5ceae4778026e07d45bce7501f7e2b02d;hpb=6d5e1de22f2eb5156fc32c35faf34259fb5e62f1;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;