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:
authorblizzz <blizzz@arthur-schiwon.de>2021-07-14 14:45:50 +0300
committerGitHub <noreply@github.com>2021-07-14 14:45:50 +0300
commit5d097ddb4b99673f57b8c085dedd93880ee2539d (patch)
treeb042689469b47a6e33d24ff2ffe899237745880f /apps/files_sharing/lib
parent59f0fc0e2b98350acf93d515859c53a39e6dbc73 (diff)
parent3a5918d9324a41b0ed0951ab713b8719385c7972 (diff)
Merge pull request #27875 from goyome/goyome-patch-group-shares-limit
No limit in the number of group shares
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