diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-05 10:08:27 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-03-05 10:08:27 +0100 |
commit | a4585b35c09bf27a36e7c8b71f942ccb6442a8f3 (patch) | |
tree | c56559c4069740058c900f719f453ea25e5b3a12 /apps/lookup_server_connector | |
parent | 679afa251ba8fb21b9379079ed078ac804358f48 (diff) | |
download | nextcloud-server-a4585b35c09bf27a36e7c8b71f942ccb6442a8f3.tar.gz nextcloud-server-a4585b35c09bf27a36e7c8b71f942ccb6442a8f3.zip |
Fix missing $config dependency in RetryJob
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/lookup_server_connector')
-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; |