summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2022-02-14 20:57:30 +0100
committerThomas Citharel <tcit@tcit.fr>2022-02-14 20:58:29 +0100
commit46e9f6d0c55ebeb033fb91112c8d7b1124121324 (patch)
treed33bf292ecab8c04fe93cf3704d66a9f30cca385 /apps/dav/lib/Connector
parentb3ba02b3828ed9604fad243df5944c0e9ea6720d (diff)
downloadnextcloud-server-46e9f6d0c55ebeb033fb91112c8d7b1124121324.tar.gz
nextcloud-server-46e9f6d0c55ebeb033fb91112c8d7b1124121324.zip
Fix typo in DAV namespace registration
See https://github.com/nextcloud/3rdparty/blob/b0afba6d6508a1c85332cf8c61e90ad91b289ebc/sabre/dav/lib/DAV/Xml/Service.php#L43 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/lib/Connector')
-rw-r--r--apps/dav/lib/Connector/Sabre/SharesPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/SharesPlugin.php b/apps/dav/lib/Connector/Sabre/SharesPlugin.php
index 503d10aece3..d482aa4b510 100644
--- a/apps/dav/lib/Connector/Sabre/SharesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/SharesPlugin.php
@@ -98,7 +98,7 @@ class SharesPlugin extends \Sabre\DAV\ServerPlugin {
* @param \Sabre\DAV\Server $server
*/
public function initialize(\Sabre\DAV\Server $server) {
- $server->xml->namespacesMap[self::NS_OWNCLOUD] = 'oc';
+ $server->xml->namespaceMap[self::NS_OWNCLOUD] = 'oc';
$server->xml->elementMap[self::SHARETYPES_PROPERTYNAME] = ShareTypeList::class;
$server->protectedProperties[] = self::SHARETYPES_PROPERTYNAME;
$server->protectedProperties[] = self::SHAREES_PROPERTYNAME;