aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/PublicCalendarRoot.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-08-01 16:44:28 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-09-26 11:55:39 +0200
commit691b3ab448907664a7fac29d1e8e795e1c6cd012 (patch)
tree5fd4a86122f1dcf0526ee35b0964c652b68ef562 /apps/dav/lib/CalDAV/PublicCalendarRoot.php
parentdd248caa0984c6d932855aa39fd3025d6f553f82 (diff)
downloadnextcloud-server-691b3ab448907664a7fac29d1e8e795e1c6cd012.tar.gz
nextcloud-server-691b3ab448907664a7fac29d1e8e795e1c6cd012.zip
Add publicuri to oc_dav_shares table and start working with it
Diffstat (limited to 'apps/dav/lib/CalDAV/PublicCalendarRoot.php')
-rw-r--r--apps/dav/lib/CalDAV/PublicCalendarRoot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/PublicCalendarRoot.php b/apps/dav/lib/CalDAV/PublicCalendarRoot.php
index b8d209d7073..6d74b97f96e 100644
--- a/apps/dav/lib/CalDAV/PublicCalendarRoot.php
+++ b/apps/dav/lib/CalDAV/PublicCalendarRoot.php
@@ -47,7 +47,8 @@ class PublicCalendarRoot extends Collection {
* @inheritdoc
*/
function getChild($name) {
- return $this->caldavBackend->getPublicCalendar($name);
+ $calendar = $this->caldavBackend->getPublicCalendar($name);
+ return new Calendar($this->caldavBackend, $calendar, $this->l10n);
}
/**