Skip to content
Snippets Groups Projects
Commit 822541b6 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #23035 from owncloud/fix-syncing-of-all-birthday-calendars

Fix syncing of all birthday calendars in one go
parents f00d30d7 8c4af74c
No related branches found
No related tags found
No related merge requests found
......@@ -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.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment