]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix namespace XML output of files and tags dav
authorVincent Petry <pvince81@owncloud.com>
Thu, 3 Dec 2015 14:55:10 +0000 (15:55 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 3 Dec 2015 14:55:10 +0000 (15:55 +0100)
apps/dav/lib/connector/sabre/filesplugin.php
apps/dav/lib/connector/sabre/tagsplugin.php

index e85a67a87593c7ceed79677f8522d22344a2c39b..1c78e9dc8455d4fbfd4f83dd47eb9600527d4927 100644 (file)
@@ -97,7 +97,7 @@ class FilesPlugin extends \Sabre\DAV\ServerPlugin {
         */
        public function initialize(\Sabre\DAV\Server $server) {
 
-               $server->xmlNamespaces[self::NS_OWNCLOUD] = 'oc';
+               $server->xml->namespaceMap[self::NS_OWNCLOUD] = 'oc';
                $server->protectedProperties[] = self::FILEID_PROPERTYNAME;
                $server->protectedProperties[] = self::INTERNAL_FILEID_PROPERTYNAME;
                $server->protectedProperties[] = self::PERMISSIONS_PROPERTYNAME;
index 2f5937da25aa50e5ed70ca7b8639ff97931fb84a..778d43f1b3acd9a9ed79e21c74fab84c13467857 100644 (file)
@@ -107,7 +107,7 @@ class TagsPlugin extends \Sabre\DAV\ServerPlugin
         */
        public function initialize(\Sabre\DAV\Server $server) {
 
-               $server->xmlNamespaces[self::NS_OWNCLOUD] = 'oc';
+               $server->xml->namespacesMap[self::NS_OWNCLOUD] = 'oc';
                $server->propertyMap[self::TAGS_PROPERTYNAME] = 'OCA\\DAV\\Connector\\Sabre\\TagList';
 
                $this->server = $server;