diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-26 12:06:02 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-03 17:18:22 +0100 |
commit | 91065956080b02407625cd78796064e45a6d0236 (patch) | |
tree | 14d462ae2062ad6bc8e257167c36c0d04dd68c48 /apps/dav/lib/caldav/calendarroot.php | |
parent | dfeb6ea49117654842157f66798ecea6367a7626 (diff) | |
download | nextcloud-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.php | 10 |
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 |