summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-10-01 09:31:03 +0200
committerGitHub <noreply@github.com>2020-10-01 09:31:03 +0200
commiteec45af7731c57ed444255ca252faf590912886d (patch)
tree1b0372a964df9e670071e0d3a6c8d6b9e814bdd7
parent830a4348f9c254595d3b338f9309f37fb5cc300f (diff)
parentee29d6ab112d7a6baae044ba9daecfd924054833 (diff)
downloadnextcloud-server-eec45af7731c57ed444255ca252faf590912886d.tar.gz
nextcloud-server-eec45af7731c57ed444255ca252faf590912886d.zip
Merge pull request #23086 from nextcloud/backport/22983/stable19
[stable19] Sync all users to the system addresssbook
-rw-r--r--apps/dav/lib/CardDAV/SyncService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/SyncService.php b/apps/dav/lib/CardDAV/SyncService.php
index 6c75e8cdc35..1cd01066a7c 100644
--- a/apps/dav/lib/CardDAV/SyncService.php
+++ b/apps/dav/lib/CardDAV/SyncService.php
@@ -322,7 +322,7 @@ class SyncService {
public function syncInstance(\Closure $progressCallback = null) {
$systemAddressBook = $this->getLocalSystemAddressBook();
- $this->userManager->callForSeenUsers(function ($user) use ($systemAddressBook, $progressCallback) {
+ $this->userManager->callForAllUsers(function ($user) use ($systemAddressBook, $progressCallback) {
$this->updateUser($user);
if (!is_null($progressCallback)) {
$progressCallback();