summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-08 13:12:34 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-11 09:15:26 +0200
commitfa0c51d1dd4c84d6fc8032623f755a83f8f812f1 (patch)
treef75eba816a3bb1e6cdf8dd9a818512229e0b32e9
parentebdd9a0408fae55d6b9949433176d988a6868ef1 (diff)
downloadnextcloud-server-fa0c51d1dd4c84d6fc8032623f755a83f8f812f1.tar.gz
nextcloud-server-fa0c51d1dd4c84d6fc8032623f755a83f8f812f1.zip
enable caldav for webdav subtree public-calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
-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 150b3dd78c1..2615e37be4e 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());