diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-03-09 16:14:33 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-03-09 16:14:33 +0100 |
commit | 8c4af74ce7a02fa4d75329f42d1c63a21803af06 (patch) | |
tree | ca349dfcc3d75bf4fdf1e3c5fef20aea22251aa0 /apps/dav | |
parent | 0cc53ee06dafbd3984bbf1d554585a5731b500a9 (diff) | |
download | nextcloud-server-8c4af74ce7a02fa4d75329f42d1c63a21803af06.tar.gz nextcloud-server-8c4af74ce7a02fa4d75329f42d1c63a21803af06.zip |
Fix syncing of all birthday calendars in one go
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/command/syncbirthdaycalendar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/command/syncbirthdaycalendar.php b/apps/dav/command/syncbirthdaycalendar.php index 66ab540b9ad..5a2baa31d93 100644 --- a/apps/dav/command/syncbirthdaycalendar.php +++ b/apps/dav/command/syncbirthdaycalendar.php @@ -61,7 +61,7 @@ class SyncBirthdayCalendar extends Command { * @param OutputInterface $output */ protected function execute(InputInterface $input, OutputInterface $output) { - if ($input->hasArgument('user')) { + if ($input->getArgument('user') !== null) { $user = $input->getArgument('user'); if (!$this->userManager->userExists($user)) { throw new \InvalidArgumentException("User <$user> in unknown."); |