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>
This commit is contained in:
Thomas Citharel 2022-02-14 19:40:31 +01:00
parent b3ba02b382
commit f695b3af9a
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
3 changed files with 0 additions and 10 deletions

View file

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

View file

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

View file

@ -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">