Skip to content

Commit 1aad010

Browse files
authored
Merge pull request #14529 from nextcloud/regression/13491/fix-missing-dependency
Fix missing $config dependency in RetryJob
2 parents 1a92142 + a4585b3 commit 1aad010

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ class RetryJob extends Job {
3838
private $lookupServer;
3939
/** @var int how much time should be between two, will be increased for each retry */
4040
private $interval = 100;
41+
/** @var IConfig */
42+
private $config;
4143

4244
/**
4345
* @param IClientService $clientService
@@ -49,6 +51,7 @@ public function __construct(IClientService $clientService,
4951
IConfig $config) {
5052
$this->clientService = $clientService;
5153
$this->jobList = $jobList;
54+
$this->config = $config;
5255

5356
if ($config->getSystemValue('has_internet_connection', true) === false) {
5457
return;

0 commit comments

Comments
 (0)