[Pkg-owncloud-commits] [php-sabredav] 01/36: Added CalDAV xml namespaces back in.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 6d80f6221c5f1de5981a564f7505784b8736af90
Author: Evert Pot <me at evertpot.com>
Date: Wed Apr 1 01:50:19 2015 -0400
Added CalDAV xml namespaces back in.
---
lib/CalDAV/Plugin.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/CalDAV/Plugin.php b/lib/CalDAV/Plugin.php
index 852f507..bc62d09 100644
--- a/lib/CalDAV/Plugin.php
+++ b/lib/CalDAV/Plugin.php
@@ -178,8 +178,10 @@ class Plugin extends DAV\ServerPlugin {
$server->on('beforeWriteContent', [$this,'beforeWriteContent']);
$server->on('afterMethod:GET', [$this,'httpAfterGET']);
- $server->xml->elementMap['{' . self::NS_CALDAV . '}supported-calendar-component-set'] = 'Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet';
+ $server->xml->namespaceMap[self::NS_CALDAV] = 'cal';
+ $server->xml->namespaceMap[self::NS_CALENDARSERVER] = 'cs';
+ $server->xml->elementMap['{' . self::NS_CALDAV . '}supported-calendar-component-set'] = 'Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet';
$server->xml->elementMap['{' . self::NS_CALDAV . '}calendar-query'] = 'Sabre\\CalDAV\\Xml\\Request\\CalendarQueryReport';
$server->xml->elementMap['{' . self::NS_CALDAV . '}calendar-multiget'] = 'Sabre\\CalDAV\\Xml\\Request\\CalendarMultiGetReport';
$server->xml->elementMap['{' . self::NS_CALDAV . '}free-busy-query'] = 'Sabre\\CalDAV\\Xml\\Request\\FreeBusyQueryReport';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list