summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/caldav/calendarroot.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-26 12:06:02 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-03 17:18:22 +0100
commit91065956080b02407625cd78796064e45a6d0236 (patch)
tree14d462ae2062ad6bc8e257167c36c0d04dd68c48 /apps/dav/lib/caldav/calendarroot.php
parentdfeb6ea49117654842157f66798ecea6367a7626 (diff)
downloadnextcloud-server-91065956080b02407625cd78796064e45a6d0236.tar.gz
nextcloud-server-91065956080b02407625cd78796064e45a6d0236.zip
Add calendar sharing
Diffstat (limited to 'apps/dav/lib/caldav/calendarroot.php')
-rw-r--r--apps/dav/lib/caldav/calendarroot.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/dav/lib/caldav/calendarroot.php b/apps/dav/lib/caldav/calendarroot.php
new file mode 100644
index 00000000000..ae5fc54cdf3
--- /dev/null
+++ b/apps/dav/lib/caldav/calendarroot.php
@@ -0,0 +1,10 @@
+<?php
+
+namespace OCA\DAV\CalDAV;
+
+class CalendarRoot extends \Sabre\CalDAV\CalendarRoot {
+
+ function getChildForPrincipal(array $principal) {
+ return new CalendarHome($this->caldavBackend, $principal);
+ }
+} \ No newline at end of file