mirror of
https://github.com/nextcloud/server.git
synced 2026-03-02 21:41:12 -05:00
Merge pull request #31182 from nextcloud/backport/31178/stable22
[stable22] Fix typo in DAV namespace registration
This commit is contained in:
commit
a26acfbbcd
2 changed files with 1 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -758,12 +758,6 @@
|
|||
<UndefinedFunction occurrences="1">
|
||||
<code>\Sabre\Uri\split($sabreNode->getPath())</code>
|
||||
</UndefinedFunction>
|
||||
<UndefinedPropertyAssignment occurrences="1">
|
||||
<code>$server->xml->namespacesMap</code>
|
||||
</UndefinedPropertyAssignment>
|
||||
<UndefinedPropertyFetch occurrences="1">
|
||||
<code>$server->xml->namespacesMap</code>
|
||||
</UndefinedPropertyFetch>
|
||||
</file>
|
||||
<file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php">
|
||||
<NullableReturnStatement occurrences="1">
|
||||
|
|
|
|||
Loading…
Reference in a new issue