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/RootCollection.php | |
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/RootCollection.php')
-rw-r--r-- | apps/dav/lib/RootCollection.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php index e4ba1f2c02a..7af1745cd74 100644 --- a/apps/dav/lib/RootCollection.php +++ b/apps/dav/lib/RootCollection.php @@ -40,6 +40,7 @@ class RootCollection extends SimpleCollection { public function __construct() { $config = \OC::$server->getConfig(); $random = \OC::$server->getSecureRandom(); + $logger = \OC::$server->getLogger(); $userManager = \OC::$server->getUserManager(); $groupManager = \OC::$server->getGroupManager(); $db = \OC::$server->getDatabaseConnection(); @@ -61,7 +62,7 @@ class RootCollection extends SimpleCollection { $systemPrincipals->disableListing = $disableListing; $filesCollection = new Files\RootCollection($userPrincipalBackend, 'principals/users'); $filesCollection->disableListing = $disableListing; - $caldavBackend = new CalDavBackend($db, $userPrincipalBackend, $userManager, $groupManager, $random, $dispatcher); + $caldavBackend = new CalDavBackend($db, $userPrincipalBackend, $userManager, $groupManager, $random, $logger, $dispatcher); $calendarRoot = new CalendarRoot($userPrincipalBackend, $caldavBackend, 'principals/users'); $calendarRoot->disableListing = $disableListing; $publicCalendarRoot = new PublicCalendarRoot($caldavBackend); |