Skip to content

Commit

Permalink
Remove setting defaultUsernamePath dynamically
Browse files Browse the repository at this point in the history
Since Sabre 3.0.6 this is no longer possible.

@see sabre-io/dav#582

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
  • Loading branch information
tcitworld committed Feb 14, 2022
1 parent b3ba02b commit f695b3a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public function __construct(bool $public = true) {
$acl->principalCollectionSet = [
'principals/users', 'principals/groups'
];
$acl->defaultUsernamePath = 'principals/users';
$this->server->addPlugin($acl);

// calendar plugins
Expand Down
1 change: 0 additions & 1 deletion apps/dav/lib/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ public function __construct(IRequest $request, $baseUri) {
'principals/calendar-resources',
'principals/calendar-rooms',
];
$acl->defaultUsernamePath = 'principals/users';
$this->server->addPlugin($acl);

// calendar plugins
Expand Down
8 changes: 0 additions & 8 deletions build/psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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">
Expand Down

0 comments on commit f695b3a

Please sign in to comment.