[Pkg-owncloud-commits] [php-sabredav] 02/04: Removed double namespace declaration

David Prévot taffit at moszumanska.debian.org
Sat Nov 30 15:44:10 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag version-1.0.14
in repository php-sabredav.

commit 84afb57537e9ef1cbefc508a6bd075b78c53dbf8
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Wed Mar 31 20:37:24 2010 +0900

    Removed double namespace declaration
---
 ChangeLog                | 3 +++
 lib/Sabre/DAV/Server.php | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 2280fc9..109c430 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1.0.14-stable (2010-??-??)
+	* Fixed: double namepspace declaration in multistatus responses.
+
 1.0.13-stable (2010-03-30)
 	* Fixed: Issue 40: Last references to basename/dirname
 
diff --git a/lib/Sabre/DAV/Server.php b/lib/Sabre/DAV/Server.php
index 5a8ff31..8450002 100644
--- a/lib/Sabre/DAV/Server.php
+++ b/lib/Sabre/DAV/Server.php
@@ -1052,8 +1052,9 @@ class Sabre_DAV_Server {
     public function generateMultiStatus(array $fileProperties) {
 
         $dom = new DOMDocument('1.0','utf-8');
+
         //$dom->formatOutput = true;
-        $multiStatus = $dom->createElementNS('DAV:','d:multistatus');
+        $multiStatus = $dom->createElement('d:multistatus');
         $dom->appendChild($multiStatus);
 
         // Adding in default namespaces

-- 
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