summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Server.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2019-11-26 10:56:42 +0100
committerGeorg Ehrke <developer@georgehrke.com>2019-11-27 14:51:17 +0100
commitfb89bc3931fed4fdddb29eb891e09763a837e13c (patch)
tree6ec0323f6efacca220eecfc5469324a1bf866fa5 /apps/dav/lib/Server.php
parentdfe85ae0c2c542178657a0a610ecea9f7cd1cea6 (diff)
downloadnextcloud-server-fb89bc3931fed4fdddb29eb891e09763a837e13c.tar.gz
nextcloud-server-fb89bc3931fed4fdddb29eb891e09763a837e13c.zip
Add refresh-interval to exported calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
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 7dd1cf3a8fa..2e2615283d1 100644
--- a/apps/dav/lib/Server.php
+++ b/apps/dav/lib/Server.php
@@ -149,7 +149,7 @@ class Server {
// calendar plugins
if ($this->requestIsForSubtree(['calendars', 'public-calendars', 'system-calendars', 'principals'])) {
$this->server->addPlugin(new \OCA\DAV\CalDAV\Plugin());
- $this->server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin());
+ $this->server->addPlugin(new \OCA\DAV\CalDAV\ICSExportPlugin\ICSExportPlugin(\OC::$server->getConfig(), \OC::$server->getLogger()));
$this->server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin());
if (\OC::$server->getConfig()->getAppValue('dav', 'sendInvitations', 'yes') === 'yes') {
$this->server->addPlugin(\OC::$server->query(\OCA\DAV\CalDAV\Schedule\IMipPlugin::class));