Merge pull request #12146 from nextcloud/fix/noid/verifyuserdata-on-null
fixes an Exception on the background job because the config was not set
This commit is contained in:
commit
1086cbbe61
|
@ -63,6 +63,9 @@ class VerifyUserData extends Job {
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $lookupServerUrl;
|
private $lookupServerUrl;
|
||||||
|
|
||||||
|
/** @var IConfig */
|
||||||
|
private $config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VerifyUserData constructor.
|
* VerifyUserData constructor.
|
||||||
*
|
*
|
||||||
|
@ -85,6 +88,7 @@ class VerifyUserData extends Job {
|
||||||
|
|
||||||
$lookupServerUrl = $config->getSystemValue('lookup_server', 'https://lookup.nextcloud.com');
|
$lookupServerUrl = $config->getSystemValue('lookup_server', 'https://lookup.nextcloud.com');
|
||||||
$this->lookupServerUrl = rtrim($lookupServerUrl, '/');
|
$this->lookupServerUrl = rtrim($lookupServerUrl, '/');
|
||||||
|
$this->config = $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue