summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/caldav/calendarroot.php
diff options
context:
space:
mode:
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