summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Server.php
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/lib/Server.php
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/lib/Server.php')
-rw-r--r--apps/dav/lib/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php
index b71c16e2319..9d120ddbdbf 100644
--- a/apps/dav/lib/Server.php
+++ b/apps/dav/lib/Server.php
@@ -151,7 +151,7 @@ class Server {
if ($this->requestIsForSubtree(['calendars', 'public-calendars', 'system-calendars', 'principals'])) {
$this->server->addPlugin(new \OCA\DAV\CalDAV\Plugin());
$this->server->addPlugin(new \OCA\DAV\CalDAV\ICSExportPlugin\ICSExportPlugin(\OC::$server->getConfig(), \OC::$server->getLogger()));
- $this->server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin());
+ $this->server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin(\OC::$server->getConfig()));
if (\OC::$server->getConfig()->getAppValue('dav', 'sendInvitations', 'yes') === 'yes') {
$this->server->addPlugin(\OC::$server->query(\OCA\DAV\CalDAV\Schedule\IMipPlugin::class));
}