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:
Roeland Jago Douma 2018-10-31 13:48:45 +01:00 committed by GitHub
commit 1086cbbe61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}
/**