diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-05 10:08:27 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-03-18 08:34:15 +0100 |
commit | ee6426024d3c996a770bd26b857be031b6233d78 (patch) | |
tree | bfbb77583b52f6ea1a6aabe0e083843c96a555f9 | |
parent | 6e56160123d39fe7c997b505a143bffb7a4ef819 (diff) | |
download | nextcloud-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.php | 3 |
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; |