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-15 16:05:40 +0300
committerGuillaume COLSON <guillaume.colson@univ-lorraine.fr>2021-07-15 16:09:09 +0300
commit44f402315532dbd3b7f1715623f1050b2a533e2a (patch)
treebf9eca42ff1f11f356e496b21b142f900af8f6c7 /apps/files_sharing/lib
parentf93fb228e83f17f66a0591536650a24274eca33d (diff)
Update UserAddedToGroupListener.php
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 623591da310..e8a62f96e57 100644
--- a/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php
+++ b/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php
@@ -61,7 +61,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