diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-10-22 12:16:58 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-11-27 17:14:18 +0100 |
commit | ea117bac315b10ad50cb6bdcc56799842d59ad25 (patch) | |
tree | 39e5c37bffdcb81fd5f7b0914d66bf13681d128d /apps/dav/lib/Command | |
parent | f700cd14fa4f094b7822edcf2e1a74b7f44ae32b (diff) | |
download | nextcloud-server-ea117bac315b10ad50cb6bdcc56799842d59ad25.tar.gz nextcloud-server-ea117bac315b10ad50cb6bdcc56799842d59ad25.zip |
catch errors when parsing calendar data for calendar query requests
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/Command')
-rw-r--r-- | apps/dav/lib/Command/CreateCalendar.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php index 1ef859e0631..190e4aa339f 100644 --- a/apps/dav/lib/Command/CreateCalendar.php +++ b/apps/dav/lib/Command/CreateCalendar.php @@ -78,10 +78,11 @@ class CreateCalendar extends Command { $this->groupManager ); $random = \OC::$server->getSecureRandom(); + $logger = \OC::$server->getLogger(); $dispatcher = \OC::$server->getEventDispatcher(); $name = $input->getArgument('name'); - $caldav = new CalDavBackend($this->dbConnection, $principalBackend, $this->userManager, $this->groupManager, $random, $dispatcher); + $caldav = new CalDavBackend($this->dbConnection, $principalBackend, $this->userManager, $this->groupManager, $random, $logger, $dispatcher); $caldav->createCalendar("principals/users/$user", $name, []); } } |