diff options
Diffstat (limited to 'core/Command/Background/JobWorker.php')
-rw-r--r-- | core/Command/Background/JobWorker.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/Command/Background/JobWorker.php b/core/Command/Background/JobWorker.php index 8289021887b..a2da18440a2 100644 --- a/core/Command/Background/JobWorker.php +++ b/core/Command/Background/JobWorker.php @@ -125,9 +125,7 @@ class JobWorker extends JobBase { $this->printJobInfo($job->getId(), $job, $output); } - /** @psalm-suppress DeprecatedMethod Calling execute until it is removed, then will switch to start */ - $job->execute($this->jobList); - + $job->start($this->jobList); $output->writeln('Job ' . $job->getId() . ' has finished', OutputInterface::VERBOSITY_VERBOSE); // clean up after unclean jobs |