Skip to content

Commit

Permalink
Do not retain VerifyUserData job when lookup server is not available
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliushaertl committed Aug 17, 2021
1 parent 9603069 commit f49a751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/lib/BackgroundJobs/VerifyUserData.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ protected function verifyViaLookupServer(array $argument, string $dataType): boo
if (empty($this->lookupServerUrl) ||
$this->config->getAppValue('files_sharing', 'lookupServerUploadEnabled', 'yes') !== 'yes' ||
$this->config->getSystemValue('has_internet_connection', true) === false) {
return false;
return true;
}

$user = $this->userManager->get($argument['uid']);
Expand Down

0 comments on commit f49a751

Please sign in to comment.