Fix missing $config dependency in RetryJob
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
679afa251b
commit
a4585b35c0
|
@ -38,6 +38,8 @@ class RetryJob extends Job {
|
||||||
private $lookupServer;
|
private $lookupServer;
|
||||||
/** @var int how much time should be between two, will be increased for each retry */
|
/** @var int how much time should be between two, will be increased for each retry */
|
||||||
private $interval = 100;
|
private $interval = 100;
|
||||||
|
/** @var IConfig */
|
||||||
|
private $config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IClientService $clientService
|
* @param IClientService $clientService
|
||||||
|
@ -49,6 +51,7 @@ class RetryJob extends Job {
|
||||||
IConfig $config) {
|
IConfig $config) {
|
||||||
$this->clientService = $clientService;
|
$this->clientService = $clientService;
|
||||||
$this->jobList = $jobList;
|
$this->jobList = $jobList;
|
||||||
|
$this->config = $config;
|
||||||
|
|
||||||
if ($config->getSystemValue('has_internet_connection', true) === false) {
|
if ($config->getSystemValue('has_internet_connection', true) === false) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue