Merge pull request #23086 from nextcloud/backport/22983/stable19

[stable19] Sync all users to the system addresssbook
This commit is contained in:
Joas Schilling 2020-10-01 09:31:03 +02:00 committed by GitHub
commit eec45af773
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) { public function syncInstance(\Closure $progressCallback = null) {
$systemAddressBook = $this->getLocalSystemAddressBook(); $systemAddressBook = $this->getLocalSystemAddressBook();
$this->userManager->callForSeenUsers(function ($user) use ($systemAddressBook, $progressCallback) { $this->userManager->callForAllUsers(function ($user) use ($systemAddressBook, $progressCallback) {
$this->updateUser($user); $this->updateUser($user);
if (!is_null($progressCallback)) { if (!is_null($progressCallback)) {
$progressCallback(); $progressCallback();