summaryrefslogtreecommitdiffstats
path: root/settings/BackgroundJobs
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-10-30 17:53:28 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-10-30 17:53:28 +0100
commit81688c514cb91abb786b5d1a72595ca7d71ed39d (patch)
tree003edd547ec58a30f5edd544ad7f4b3dfdf8a8c3 /settings/BackgroundJobs
parent3eb5ac9cff2cd2a111e51fe3ce24ecdd615ddafa (diff)
downloadnextcloud-server-81688c514cb91abb786b5d1a72595ca7d71ed39d.tar.gz
nextcloud-server-81688c514cb91abb786b5d1a72595ca7d71ed39d.zip
fixes an Exception on the background job because the config was not set
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'settings/BackgroundJobs')
-rw-r--r--settings/BackgroundJobs/VerifyUserData.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/BackgroundJobs/VerifyUserData.php b/settings/BackgroundJobs/VerifyUserData.php
index b4a60ec8405..56ebadff9c3 100644
--- a/settings/BackgroundJobs/VerifyUserData.php
+++ b/settings/BackgroundJobs/VerifyUserData.php
@@ -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;
}
/**