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:
parent
3eb5ac9cff
commit
81688c514c
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue