Merge pull request #28466 from nextcloud/bugfix/noid/verify-user-no-retain

Do not retain VerifyUserData job when lookup server is not available
This commit is contained in:
blizzz 2021-08-23 11:26:08 +02:00 committed by GitHub
commit 36b72b8fd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ class VerifyUserData extends Job {
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']);