Skip to content

Commit 9924ad1

Browse files
authored
Merge pull request #27992 from goyome/goyome-stable21-group-shares-limit
Manual backport of "No limit in the number of group shares" #27875
2 parents ab233d5 + 49cc16e commit 9924ad1

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)