summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-08 13:12:34 +0200
committerGeorg Ehrke <developer@georgehrke.com>2018-06-08 13:12:34 +0200
commit7ea41a1461d1465bb46622e26566eb3cc6e332c8 (patch)
tree31b13e609a2755c9c4a46ed93c46f7d57e02f6d4 /apps
parentad46af8558f187d60ae4efbb30ef9034f86da885 (diff)
downloadnextcloud-server-7ea41a1461d1465bb46622e26566eb3cc6e332c8.tar.gz
nextcloud-server-7ea41a1461d1465bb46622e26566eb3cc6e332c8.zip
enable caldav for webdav subtree public-calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps')
-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 b9f411ae7ec..a401fb57045 100644
--- a/apps/dav/lib/Server.php
+++ b/apps/dav/lib/Server.php
@@ -138,7 +138,7 @@ class Server {
$this->server->addPlugin($acl);
// calendar plugins
- if ($this->requestIsForSubtree(['calendars', 'principals'])) {
+ if ($this->requestIsForSubtree(['calendars', 'public-calendars', 'principals'])) {
$this->server->addPlugin(new \OCA\DAV\CalDAV\Plugin());
$this->server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin());
$this->server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin());