summaryrefslogtreecommitdiffstats
path: root/settings/BackgroundJobs
diff options
context:
space:
mode:
Diffstat (limited to 'settings/BackgroundJobs')
-rw-r--r--settings/BackgroundJobs/VerifyUserData.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/BackgroundJobs/VerifyUserData.php b/settings/BackgroundJobs/VerifyUserData.php
index 8d54cde9dd9..b4a60ec8405 100644
--- a/settings/BackgroundJobs/VerifyUserData.php
+++ b/settings/BackgroundJobs/VerifyUserData.php
@@ -182,6 +182,9 @@ class VerifyUserData extends Job {
* @return bool true if we could check the verification code, otherwise false
*/
protected function verifyViaLookupServer(array $argument, $dataType) {
+ if(empty($this->lookupServerUrl) || $this->config->getSystemValue('has_internet_connection', true) === false) {
+ return false;
+ }
$user = $this->userManager->get($argument['uid']);