summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v1/caldav.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-10-22 12:16:58 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-11-27 17:14:18 +0100
commitea117bac315b10ad50cb6bdcc56799842d59ad25 (patch)
tree39e5c37bffdcb81fd5f7b0914d66bf13681d128d /apps/dav/appinfo/v1/caldav.php
parentf700cd14fa4f094b7822edcf2e1a74b7f44ae32b (diff)
downloadnextcloud-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/appinfo/v1/caldav.php')
-rw-r--r--apps/dav/appinfo/v1/caldav.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php
index e96c3f28064..d9851bf92c8 100644
--- a/apps/dav/appinfo/v1/caldav.php
+++ b/apps/dav/appinfo/v1/caldav.php
@@ -49,8 +49,9 @@ $principalBackend = new Principal(
$db = \OC::$server->getDatabaseConnection();
$userManager = \OC::$server->getUserManager();
$random = \OC::$server->getSecureRandom();
+$logger = \OC::$server->getLogger();
$dispatcher = \OC::$server->getEventDispatcher();
-$calDavBackend = new CalDavBackend($db, $principalBackend, $userManager, \OC::$server->getGroupManager(), $random, $dispatcher, true);
+$calDavBackend = new CalDavBackend($db, $principalBackend, $userManager, \OC::$server->getGroupManager(), $random, $logger, $dispatcher, true);
$debugging = \OC::$server->getConfig()->getSystemValue('debug', false);
$sendInvitations = \OC::$server->getConfig()->getAppValue('dav', 'sendInvitations', 'yes') === 'yes';