Skip to content

Commit 5d097dd

Browse files
authored
Merge pull request #27875 from goyome/goyome-patch-group-shares-limit
No limit in the number of group shares
2 parents 59f0fc0 + 3a5918d commit 5d097dd

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
@@ -60,7 +60,7 @@ public function handle(Event $event): void {
6060
}
6161

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

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

0 commit comments

Comments
 (0)