Skip to content

Commit

Permalink
Merge pull request #27991 from goyome/goyome-stable20-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
szaimen authored Aug 31, 2021
2 parents 9d303ae + 44f4023 commit 1de35a9
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 1de35a9

Please sign in to comment.