]> source.dussan.org Git - nextcloud-server.git/commitdiff
Sync all users to the system addresssbook 23084/head
authorJoas Schilling <coding@schilljs.com>
Mon, 21 Sep 2020 07:01:39 +0000 (09:01 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 29 Sep 2020 07:15:49 +0000 (07:15 +0000)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/dav/lib/CardDAV/SyncService.php

index 6c75e8cdc3565b338031aa295dbe8e5e2c254aa4..1cd01066a7c194ac42554fa74e367f4d7199bf08 100644 (file)
@@ -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();