Skip to content

Commit

Permalink
Merge pull request #14529 from nextcloud/regression/13491/fix-missing…
Browse files Browse the repository at this point in the history
…-dependency

Fix missing $config dependency in RetryJob
  • Loading branch information
MorrisJobke authored Mar 5, 2019
2 parents 1a92142 + a4585b3 commit 1aad010
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -49,6 +51,7 @@ public function __construct(IClientService $clientService,
IConfig $config) {
$this->clientService = $clientService;
$this->jobList = $jobList;
$this->config = $config;

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

0 comments on commit 1aad010

Please sign in to comment.