summaryrefslogtreecommitdiffstats
path: root/lib/private/BackgroundJob/Job.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/BackgroundJob/Job.php')
-rw-r--r--lib/private/BackgroundJob/Job.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/BackgroundJob/Job.php b/lib/private/BackgroundJob/Job.php
index 399ff05134e..ffcaaf8c36d 100644
--- a/lib/private/BackgroundJob/Job.php
+++ b/lib/private/BackgroundJob/Job.php
@@ -66,6 +66,10 @@ abstract class Job implements IJob {
}
}
+ public function start(IJobList $jobList): void {
+ $this->execute($jobList);
+ }
+
abstract protected function run($argument);
public function setId(int $id) {