Skip to content

Commit

Permalink
Merge pull request #28466 from nextcloud/bugfix/noid/verify-user-no-r…
Browse files Browse the repository at this point in the history
…etain

Do not retain VerifyUserData job when lookup server is not available
  • Loading branch information
blizzz authored Aug 23, 2021
2 parents ad8cd75 + f49a751 commit 36b72b8
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 36b72b8

Please sign in to comment.