Browse Source

Fix missing $config dependency in RetryJob

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v16.0.0beta1
Morris Jobke 5 years ago
parent
commit
a4585b35c0
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php

+ 3
- 0
apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php View File

@@ -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
@@ -49,6 +51,7 @@ class RetryJob extends Job {
IConfig $config) {
$this->clientService = $clientService;
$this->jobList = $jobList;
$this->config = $config;

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

Loading…
Cancel
Save