Skip to content

Commit 44f4023

Browse files
committed
Update UserAddedToGroupListener.php
Signed-off-by: Guillaume COLSON <guillaume.colson@univ-lorraine.fr>
1 parent f93fb22 commit 44f4023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/lib/Listener/UserAddedToGroupListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function handle(Event $event): void {
6161
}
6262

6363
// Get all group shares this user has access to now to filter later
64-
$shares = $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_GROUP);
64+
$shares = $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_GROUP, null, -1);
6565

6666
foreach ($shares as $share) {
6767
// If this is not the new group we can skip it

0 commit comments

Comments
 (0)