Remove setting defaultUsernamePath dynamically

Since Sabre 3.0.6 this is no longer possible.

@see https://github.com/sabre-io/dav/pull/582

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
pull/31176/head
Thomas Citharel 3 years ago
parent b3ba02b382
commit f695b3af9a
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
  1. 1
      apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php
  2. 1
      apps/dav/lib/Server.php
  3. 8
      build/psalm-baseline.xml

@ -84,7 +84,6 @@ class InvitationResponseServer {
$acl->principalCollectionSet = [
'principals/users', 'principals/groups'
];
$acl->defaultUsernamePath = 'principals/users';
$this->server->addPlugin($acl);
// calendar plugins

@ -155,7 +155,6 @@ class Server {
'principals/calendar-resources',
'principals/calendar-rooms',
];
$acl->defaultUsernamePath = 'principals/users';
$this->server->addPlugin($acl);
// calendar plugins

@ -243,11 +243,6 @@
<code>$principal</code>
</ParamNameMismatch>
</file>
<file src="apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php">
<UndefinedPropertyAssignment occurrences="1">
<code>$acl-&gt;defaultUsernamePath</code>
</UndefinedPropertyAssignment>
</file>
<file src="apps/dav/lib/CalDAV/Plugin.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|null</code>
@ -939,9 +934,6 @@
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<UndefinedPropertyAssignment occurrences="1">
<code>$acl-&gt;defaultUsernamePath</code>
</UndefinedPropertyAssignment>
</file>
<file src="apps/dav/lib/SystemTag/SystemTagsByIdCollection.php">
<InvalidNullableReturnType occurrences="1">

Loading…
Cancel
Save