diff options
author | Guillaume Colson <guillaume.colson@univ-lorraine.fr> | 2021-07-08 16:37:27 +0200 |
---|---|---|
committer | Guillaume COLSON <guillaume.colson@univ-lorraine.fr> | 2021-07-08 16:56:26 +0200 |
commit | 3a5918d9324a41b0ed0951ab713b8719385c7972 (patch) | |
tree | de5b2591748708326c69be57c8b2e53f22b412d3 /apps | |
parent | 57e669e797d9b0be98f6958a39116f76270cf010 (diff) | |
download | nextcloud-server-3a5918d9324a41b0ed0951ab713b8719385c7972.tar.gz nextcloud-server-3a5918d9324a41b0ed0951ab713b8719385c7972.zip |
No limit in the number of group shares
By default, autoaccept doesn't work if the user has more than 50 group shares
Signed-off-by: Guillaume COLSON <guillaume.colson@univ-lorraine.fr>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/Listener/UserAddedToGroupListener.php | 2 |
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 |