No limit in the number of group shares

Signed-off-by: Guillaume COLSON <guillaume.colson@univ-lorraine.fr>
pull/27993/head
Guillaume COLSON 5 years ago
parent 3dd1b95f90
commit 69f2b691cd
  1. 2
      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

Loading…
Cancel
Save