summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Server.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-10-20 16:53:02 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-11-11 02:15:50 +0100
commit5068d56fb09f709c9e711399ac67e892bcd5f577 (patch)
tree9ffb3a23051a14d2b3b35de7e665626edaea8688 /apps/dav/lib/Server.php
parentdc346220083443376642a14c01c5da5af5d56e81 (diff)
downloadnextcloud-server-5068d56fb09f709c9e711399ac67e892bcd5f577.tar.gz
nextcloud-server-5068d56fb09f709c9e711399ac67e892bcd5f577.zip
add CalDAV interface that allows users to re-enable their birthday calendar
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r--apps/dav/lib/Server.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php
index 14f6f4e49eb..ab20d14cab7 100644
--- a/apps/dav/lib/Server.php
+++ b/apps/dav/lib/Server.php
@@ -259,6 +259,9 @@ class Server {
$view
)));
}
+ $this->server->addPlugin(new \OCA\DAV\CalDAV\BirthdayCalendar\EnablePlugin(
+ \OC::$server->getConfig()
+ ));
}
// register plugins from apps