Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Colson <guillaume.colson@univ-lorraine.fr>2021-07-08 17:37:27 +0300
committerGuillaume COLSON <guillaume.colson@univ-lorraine.fr>2021-07-08 17:56:26 +0300
commit3a5918d9324a41b0ed0951ab713b8719385c7972 (patch)
treede5b2591748708326c69be57c8b2e53f22b412d3 /apps/files_sharing/lib
parent57e669e797d9b0be98f6958a39116f76270cf010 (diff)
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/files_sharing/lib')
-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