Merge pull request #17916 from nextcloud/backport/17735/stable17
[stable17] Fix reshare with circle
This commit is contained in:
commit
2c8554e090
|
@ -302,6 +302,7 @@ class Manager implements IManager {
|
||||||
/* Check if this is an incoming share */
|
/* Check if this is an incoming share */
|
||||||
$incomingShares = $this->getSharedWith($share->getSharedBy(), Share::SHARE_TYPE_USER, $userMountPoint, -1, 0);
|
$incomingShares = $this->getSharedWith($share->getSharedBy(), Share::SHARE_TYPE_USER, $userMountPoint, -1, 0);
|
||||||
$incomingShares = array_merge($incomingShares, $this->getSharedWith($share->getSharedBy(), Share::SHARE_TYPE_GROUP, $userMountPoint, -1, 0));
|
$incomingShares = array_merge($incomingShares, $this->getSharedWith($share->getSharedBy(), Share::SHARE_TYPE_GROUP, $userMountPoint, -1, 0));
|
||||||
|
$incomingShares = array_merge($incomingShares, $this->getSharedWith($share->getSharedBy(), Share::SHARE_TYPE_CIRCLE, $userMountPoint, -1, 0));
|
||||||
$incomingShares = array_merge($incomingShares, $this->getSharedWith($share->getSharedBy(), Share::SHARE_TYPE_ROOM, $userMountPoint, -1, 0));
|
$incomingShares = array_merge($incomingShares, $this->getSharedWith($share->getSharedBy(), Share::SHARE_TYPE_ROOM, $userMountPoint, -1, 0));
|
||||||
|
|
||||||
/** @var \OCP\Share\IShare[] $incomingShares */
|
/** @var \OCP\Share\IShare[] $incomingShares */
|
||||||
|
|
Loading…
Reference in New Issue