Sync all users to the system addresssbook
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
d77d52d257
commit
8b77aa6b4f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue