mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #27992 from goyome/goyome-stable21-group-shares-limit
Manual backport of "No limit in the number of group shares" #27875
This commit is contained in:
commit
9924ad1e54
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class UserAddedToGroupListener implements IEventListener {
|
|||
}
|
||||
|
||||
// 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue