Skip to content

Commit

Permalink
Merge pull request #27992 from goyome/goyome-stable21-group-shares-limit
Browse files Browse the repository at this point in the history
Manual backport of "No limit in the number of group shares" #27875
  • Loading branch information
skjnldsv authored Jul 27, 2021
2 parents ab233d5 + 49cc16e commit 9924ad1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function handle(Event $event): void {
}

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

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

0 comments on commit 9924ad1

Please sign in to comment.