summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThibault Coupin <thibault.coupin@gmail.com>2019-10-29 12:26:53 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2019-11-12 15:28:19 +0000
commit4a09899ad839a5170153e6113c59a5b99a3a2aa2 (patch)
tree4e27dc18bcd6cb9136b6f1e638665018805389df
parente76e85c9c0e3ddb047e0353836bb68974174253b (diff)
downloadnextcloud-server-4a09899ad839a5170153e6113c59a5b99a3a2aa2.tar.gz
nextcloud-server-4a09899ad839a5170153e6113c59a5b99a3a2aa2.zip
Fix reshare with circle
Signed-off-by: Thibault Coupin <thibault.coupin@gmail.com>
-rw-r--r--lib/private/Share20/Manager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 2e8e6f9a3af..33a6553172c 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -302,6 +302,7 @@ class Manager implements IManager {
/* Check if this is an incoming share */
$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_CIRCLE, $userMountPoint, -1, 0));
$incomingShares = array_merge($incomingShares, $this->getSharedWith($share->getSharedBy(), Share::SHARE_TYPE_ROOM, $userMountPoint, -1, 0));
/** @var \OCP\Share\IShare[] $incomingShares */