aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/PublicCalendarRoot.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-04-09 18:51:14 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-04-09 21:20:59 +0200
commitc99bdc9eb4c2b003fcddf826b0f1ee3383a30714 (patch)
tree774ab6482e6fb28bb1bc18646155403d9ab486ba /apps/dav/lib/CalDAV/PublicCalendarRoot.php
parent16091f4424b44d9d8ab6076f1cf9218b1d25da4d (diff)
downloadnextcloud-server-c99bdc9eb4c2b003fcddf826b0f1ee3383a30714.tar.gz
nextcloud-server-c99bdc9eb4c2b003fcddf826b0f1ee3383a30714.zip
don't remove owner property for public calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/CalDAV/PublicCalendarRoot.php')
-rw-r--r--apps/dav/lib/CalDAV/PublicCalendarRoot.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/PublicCalendarRoot.php b/apps/dav/lib/CalDAV/PublicCalendarRoot.php
index 94fb7e5e4d5..20654549884 100644
--- a/apps/dav/lib/CalDAV/PublicCalendarRoot.php
+++ b/apps/dav/lib/CalDAV/PublicCalendarRoot.php
@@ -47,8 +47,7 @@ class PublicCalendarRoot extends Collection {
*/
function getChild($name) {
$calendar = $this->caldavBackend->getPublicCalendar($name);
- $calendar['{http://owncloud.org/ns}owner-principal'] = '';
- return new Calendar($this->caldavBackend, $calendar, $this->l10n);
+ return new PublicCalendar($this->caldavBackend, $calendar, $this->l10n);
}
/**