diff options
author | Guillaume Colson <guillaume.colson@univ-lorraine.fr> | 2021-07-15 16:05:40 +0300 |
---|---|---|
committer | Guillaume COLSON <guillaume.colson@univ-lorraine.fr> | 2021-07-15 16:09:09 +0300 |
commit | 44f402315532dbd3b7f1715623f1050b2a533e2a (patch) | |
tree | bf9eca42ff1f11f356e496b21b142f900af8f6c7 /apps/files_sharing | |
parent | f93fb228e83f17f66a0591536650a24274eca33d (diff) |
Update UserAddedToGroupListener.php
Signed-off-by: Guillaume COLSON <guillaume.colson@univ-lorraine.fr>
Diffstat (limited to 'apps/files_sharing')
-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 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 |