diff --git a/lib/BackgroundJob/RetryJob.php b/lib/BackgroundJob/RetryJob.php index 591f88611d2..49c088fcbce 100644 --- a/lib/BackgroundJob/RetryJob.php +++ b/lib/BackgroundJob/RetryJob.php @@ -63,13 +63,13 @@ public function __construct( * @param IJobList $jobList * @param ILogger|null $logger */ - public function execute(IJobList $jobList, ?ILogger $logger = null): void { + public function start(IJobList $jobList): void { if (((int)$this->argument['try']) > $this->maxTry) { $jobList->remove($this, $this->argument); return; } if ($this->shouldRun($this->argument)) { - parent::execute($jobList, $logger); + parent::start($jobList); $jobList->remove($this, $this->argument); } }