summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorGuillaume COLSON <guillaume.colson@univ-lorraine.fr>2021-07-15 15:24:05 +0200
committerGuillaume COLSON <guillaume.colson@univ-lorraine.fr>2021-07-15 15:24:05 +0200
commit69f2b691cdccc476ffef4a289cc103efc13c655d (patch)
tree4ef3046cdb86868c593805eebde1129f6e02c7ab /apps/files_sharing
parent3dd1b95f90786aca0cef6d8f6d63f3233ea9eb34 (diff)
downloadnextcloud-server-69f2b691cdccc476ffef4a289cc103efc13c655d.tar.gz
nextcloud-server-69f2b691cdccc476ffef4a289cc103efc13c655d.zip
No limit in the number of group shares
Signed-off-by: Guillaume COLSON <guillaume.colson@univ-lorraine.fr>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/Listener/UserAddedToGroupListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php b/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php
index 9b2975f5833..1f3898b3dcb 100644
--- a/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php
+++ b/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php
@@ -60,7 +60,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