]> source.dussan.org Git - nextcloud-server.git/commitdiff
Sync all users to the system addresssbook 22983/head
authorJoas Schilling <coding@schilljs.com>
Mon, 21 Sep 2020 07:01:39 +0000 (09:01 +0200)
committerJoas Schilling <coding@schilljs.com>
Mon, 21 Sep 2020 07:01:39 +0000 (09:01 +0200)
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();