Include deck shares in sharing mounts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
c770d33717
commit
53bb44c09f
|
@ -78,6 +78,8 @@ class MountProvider implements IMountProvider {
|
|||
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_GROUP, null, -1));
|
||||
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_CIRCLE, null, -1));
|
||||
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_ROOM, null, -1));
|
||||
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_DECK, null, -1));
|
||||
|
||||
|
||||
// filter out excluded shares and group shares that includes self
|
||||
$shares = array_filter($shares, function (\OCP\Share\IShare $share) use ($user) {
|
||||
|
|
Loading…
Reference in New Issue