Merge pull request #22983 from nextcloud/bugfix/noid/sync-all-users-to-systemaddressbook

Sync all users to the system addresssbook
This commit is contained in:
Roeland Jago Douma 2020-09-29 09:12:40 +02:00 committed by GitHub
commit 4175c3f499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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();