diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-04-17 13:40:48 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-04-17 15:55:23 +0200 |
commit | 1d1c8b4e692a581883295857a7351c0a14e2dfba (patch) | |
tree | b3174f5bcd14dc76cde01ece233cdd3134bf99c2 /apps/dav/lib/Command | |
parent | 5382eeccb053ecf17bb8f7aacd57ae3cc4518d27 (diff) | |
download | nextcloud-server-1d1c8b4e692a581883295857a7351c0a14e2dfba.tar.gz nextcloud-server-1d1c8b4e692a581883295857a7351c0a14e2dfba.zip |
avoids users searches on backend, faster processing
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/dav/lib/Command')
-rw-r--r-- | apps/dav/lib/Command/SyncBirthdayCalendar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Command/SyncBirthdayCalendar.php b/apps/dav/lib/Command/SyncBirthdayCalendar.php index 88f85a98812..3d1bcab6c31 100644 --- a/apps/dav/lib/Command/SyncBirthdayCalendar.php +++ b/apps/dav/lib/Command/SyncBirthdayCalendar.php @@ -92,7 +92,7 @@ class SyncBirthdayCalendar extends Command { $output->writeln("Start birthday calendar sync for all users ..."); $p = new ProgressBar($output); $p->start(); - $this->userManager->callForAllUsers(function($user) use ($p) { + $this->userManager->callForSeenUsers(function($user) use ($p) { $p->advance(); $userId = $user->getUID(); |