summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-09-21 09:01:39 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-09-29 07:18:56 +0000
commitee29d6ab112d7a6baae044ba9daecfd924054833 (patch)
treee67cdf98bb6d83dd7c9e73932b7ab76071cb56df
parent0d4ea5fc63695361dc07100f3317cf2d8390fb76 (diff)
downloadnextcloud-server-ee29d6ab112d7a6baae044ba9daecfd924054833.tar.gz
nextcloud-server-ee29d6ab112d7a6baae044ba9daecfd924054833.zip
Sync all users to the system addresssbook
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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();