Skip to content

Commit

Permalink
FIX ImmediateQueueHandler needs scheduleJob method to match expecte…
Browse files Browse the repository at this point in the history
…d API
  • Loading branch information
dhensby committed Nov 2, 2017
1 parent f000c10 commit 087c8ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/services/ImmediateQueueHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 087c8ca

Please sign in to comment.