diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-04-09 18:51:14 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2017-04-09 21:20:59 +0200 |
commit | c99bdc9eb4c2b003fcddf826b0f1ee3383a30714 (patch) | |
tree | 774ab6482e6fb28bb1bc18646155403d9ab486ba /apps/dav/lib/CalDAV/PublicCalendarRoot.php | |
parent | 16091f4424b44d9d8ab6076f1cf9218b1d25da4d (diff) | |
download | nextcloud-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.php | 3 |
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); } /** |