Merge pull request #9820 from nextcloud/backport/9798/stable13

[stable13] enable caldav for webdav subtree public-calendars
This commit is contained in:
Roeland Jago Douma 2018-06-11 09:49:50 +02:00 committed by GitHub
commit dfd7ea3c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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());