diff options
author | Georg Ehrke <developer@georgehrke.com> | 2018-06-28 13:07:33 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2018-11-07 13:25:14 +0100 |
commit | 30d13bb760b233eb4b55b46066deb4bf05d41ce4 (patch) | |
tree | 0d7af03bab6ce7ca549df78eeb2d87163c597320 /apps/dav/lib/Server.php | |
parent | b56cb41e2fc5bd8ec4ef4661009b6feb4c75b7dc (diff) | |
download | nextcloud-server-30d13bb760b233eb4b55b46066deb4bf05d41ce4.tar.gz nextcloud-server-30d13bb760b233eb4b55b46066deb4bf05d41ce4.zip |
cache webcal calendars on server
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r-- | apps/dav/lib/Server.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index c8d223b18b8..dac2fa102b3 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -149,7 +149,10 @@ class Server { if (\OC::$server->getConfig()->getAppValue('dav', 'sendInvitations', 'yes') === 'yes') { $this->server->addPlugin(\OC::$server->query(\OCA\DAV\CalDAV\Schedule\IMipPlugin::class)); } + + $this->server->addPlugin(new CalDAV\WebcalCaching\Plugin($request)); $this->server->addPlugin(new \Sabre\CalDAV\Subscriptions\Plugin()); + $this->server->addPlugin(new \Sabre\CalDAV\Notifications\Plugin()); $this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest())); $this->server->addPlugin(new \OCA\DAV\CalDAV\Publishing\PublishPlugin( |