Skip to content
Snippets Groups Projects
Unverified Commit a4585b35 authored by Morris Jobke's avatar Morris Jobke
Browse files

Fix missing $config dependency in RetryJob


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 679afa25
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment