summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2020-03-08 17:33:27 +0100
committerThomas Citharel <tcit@tcit.fr>2020-04-13 15:07:42 +0200
commitebdf66b70619a30fd3f9172c1b725b8f56ea9358 (patch)
tree2e81468128e1ff9a6fe599255b153563507816a2 /apps/dav/appinfo
parent21d8a2bfc16bef4b813d316b18768947e5416ff8 (diff)
downloadnextcloud-server-ebdf66b70619a30fd3f9172c1b725b8f56ea9358.tar.gz
nextcloud-server-ebdf66b70619a30fd3f9172c1b725b8f56ea9358.zip
Provide dav setting for user's default calendar
And add tests to handle schedule-default-calendar-URL Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/caldav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php
index 82fddd152e6..29733a3a623 100644
--- a/apps/dav/appinfo/v1/caldav.php
+++ b/apps/dav/appinfo/v1/caldav.php
@@ -92,7 +92,7 @@ if ($debugging) {
$server->addPlugin(new \Sabre\DAV\Sync\Plugin());
$server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin());
-$server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin());
+$server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin(\OC::$server->getConfig()));
if ($sendInvitations) {
$server->addPlugin(\OC::$server->query(\OCA\DAV\CalDAV\Schedule\IMipPlugin::class));