mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
fix: also delete groups with special chars
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
This commit is contained in:
parent
1fdbc84af5
commit
4aa1fa4341
1 changed files with 3 additions and 2 deletions
|
|
@ -140,8 +140,9 @@ class UserEventsListener implements IEventListener {
|
|||
}
|
||||
|
||||
public function postDeleteGroup(string $gid): void {
|
||||
$this->calDav->deleteAllSharesByUser('principals/groups/' . $gid);
|
||||
$this->cardDav->deleteAllSharesByUser('principals/groups/' . $gid);
|
||||
$encodedGid = urlencode($gid);
|
||||
$this->calDav->deleteAllSharesByUser('principals/groups/' . $encodedGid);
|
||||
$this->cardDav->deleteAllSharesByUser('principals/groups/' . $encodedGid);
|
||||
}
|
||||
|
||||
public function changeUser(IUser $user, string $feature): void {
|
||||
|
|
|
|||
Loading…
Reference in a new issue