summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-03-05 10:08:27 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-03-18 08:34:15 +0100
commitee6426024d3c996a770bd26b857be031b6233d78 (patch)
treebfbb77583b52f6ea1a6aabe0e083843c96a555f9
parent6e56160123d39fe7c997b505a143bffb7a4ef819 (diff)
downloadnextcloud-server-ee6426024d3c996a770bd26b857be031b6233d78.tar.gz
nextcloud-server-ee6426024d3c996a770bd26b857be031b6233d78.zip
Fix missing $config dependency in RetryJob
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
index ed859a71976..242b0c713fe 100644
--- a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
+++ b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
@@ -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;