From 087c8ca1ac10b2b0b38810417e6880d1e671f26d Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Thu, 2 Nov 2017 14:54:08 +0000 Subject: [PATCH] FIX ImmediateQueueHandler needs `scheduleJob` method to match expected API --- code/services/ImmediateQueueHandler.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/services/ImmediateQueueHandler.php b/code/services/ImmediateQueueHandler.php index 572e6541..2961c2af 100644 --- a/code/services/ImmediateQueueHandler.php +++ b/code/services/ImmediateQueueHandler.php @@ -25,4 +25,8 @@ class ImmediateQueueHandler { public function startJobOnQueue(QueuedJobDescriptor $job) { $this->queuedJobService->runJob($job->ID); } + + public function scheduleJob(QueuedJobDescriptor $job, $date) { + $this->queuedJobService->runJob($job->ID); + } }