fixes an Exception on the background job because the config was not set

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2018-10-30 17:53:28 +01:00
parent 3eb5ac9cff
commit 81688c514c
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,9 @@ class VerifyUserData extends Job {
/** @var string */
private $lookupServerUrl;
/** @var IConfig */
private $config;
/**
* VerifyUserData constructor.
*
@ -85,6 +88,7 @@ class VerifyUserData extends Job {
$lookupServerUrl = $config->getSystemValue('lookup_server', 'https://lookup.nextcloud.com');
$this->lookupServerUrl = rtrim($lookupServerUrl, '/');
$this->config = $config;
}
/**