Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-10-06 20:30:24 +0300
committerGitHub <noreply@github.com>2020-10-06 20:30:24 +0300
commitb602be99f1efa1255c8d598e12fd6a7fadc4721a (patch)
treedb234ed252ba4362b4f23e5ecc2b052555b29cb1
parentf415a6e5911fcc5ec28897366d92e4492a199d4e (diff)
parentc255dd360677ee623b5bf3d9a9434d27963b9933 (diff)
Merge pull request #23227 from nextcloud/backport/22983/stable18
[stable18] 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 9ca50b5ee25..408f7c7e2f3 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 ($progressCallback) {
$this->updateUser($user);
if (!is_null($progressCallback)) {
$progressCallback();