From 49cc16ea46e17783072d4175be9a1a475c6b7604 Mon Sep 17 00:00:00 2001 From: Guillaume COLSON Date: Thu, 15 Jul 2021 15:17:42 +0200 Subject: [PATCH] No limit in the number of group shares Signed-off-by: Guillaume COLSON --- apps/files_sharing/lib/Listener/UserAddedToGroupListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php b/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php index 623591da310d4..e8a62f96e575a 100644 --- a/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php +++ b/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php @@ -61,7 +61,7 @@ public function handle(Event $event): void { } // 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