summaryrefslogtreecommitdiffstats
path: root/settings/BackgroundJobs
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-04-16 08:40:17 +0200
committerJoas Schilling <coding@schilljs.com>2019-04-16 08:40:17 +0200
commit626f781bda71875bfe662880f61a2372431f24d9 (patch)
treefb0ea60b2acdc4af363e8d18bbc4e89d774ff031 /settings/BackgroundJobs
parent090aa512341d0b86bf4d90474f3ec9064e5a0717 (diff)
downloadnextcloud-server-626f781bda71875bfe662880f61a2372431f24d9.tar.gz
nextcloud-server-626f781bda71875bfe662880f61a2372431f24d9.zip
Check if the data is in the lookup server
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/BackgroundJobs')
-rw-r--r--settings/BackgroundJobs/VerifyUserData.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/BackgroundJobs/VerifyUserData.php b/settings/BackgroundJobs/VerifyUserData.php
index 56ebadff9c3..cf71cbd67bc 100644
--- a/settings/BackgroundJobs/VerifyUserData.php
+++ b/settings/BackgroundJobs/VerifyUserData.php
@@ -205,7 +205,7 @@ class VerifyUserData extends Job {
$lookupServerData = $this->queryLookupServer($cloudId);
// for some reasons we couldn't read any data from the lookup server, try again later
- if (empty($lookupServerData)) {
+ if (empty($lookupServerData) || empty($lookupServerData[$dataType])) {
return false;
}