Skip to content

Commit

Permalink
Fix missing $config dependency in RetryJob
Browse files Browse the repository at this point in the history
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
  • Loading branch information
MorrisJobke committed Mar 5, 2019
1 parent 679afa2 commit a4585b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class RetryJob extends Job {
private $lookupServer;
/** @var int how much time should be between two, will be increased for each retry */
private $interval = 100;
/** @var IConfig */
private $config;

/**
* @param IClientService $clientService
Expand All @@ -49,6 +51,7 @@ public function __construct(IClientService $clientService,
IConfig $config) {
$this->clientService = $clientService;
$this->jobList = $jobList;
$this->config = $config;

if ($config->getSystemValue('has_internet_connection', true) === false) {
return;
Expand Down

0 comments on commit a4585b3

Please sign in to comment.