diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-04 08:31:21 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-04 08:31:21 +0100 |
commit | 561ca002ae386f0640b3f32bd5432be5730538e0 (patch) | |
tree | 6fb106625895cf142a4f3042bad9ad988c36e494 /apps | |
parent | a2848af62570fdc849350f119f7bbf5506abfa73 (diff) | |
parent | acdd106a24fb51faf4749a3c1bdaeaac0ed32c2a (diff) | |
download | nextcloud-server-561ca002ae386f0640b3f32bd5432be5730538e0.tar.gz nextcloud-server-561ca002ae386f0640b3f32bd5432be5730538e0.zip |
Merge pull request #20931 from owncloud/dav-fixnamespaceoutput
Fix namespace XML output of files and tags dav
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/connector/sabre/filesplugin.php | 2 | ||||
-rw-r--r-- | apps/dav/lib/connector/sabre/tagsplugin.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/connector/sabre/filesplugin.php b/apps/dav/lib/connector/sabre/filesplugin.php index e85a67a8759..1c78e9dc845 100644 --- a/apps/dav/lib/connector/sabre/filesplugin.php +++ b/apps/dav/lib/connector/sabre/filesplugin.php @@ -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; diff --git a/apps/dav/lib/connector/sabre/tagsplugin.php b/apps/dav/lib/connector/sabre/tagsplugin.php index 2f5937da25a..778d43f1b3a 100644 --- a/apps/dav/lib/connector/sabre/tagsplugin.php +++ b/apps/dav/lib/connector/sabre/tagsplugin.php @@ -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; |