aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2019-11-04 23:40:03 +0100
committerGitHub <noreply@github.com>2019-11-04 23:40:03 +0100
commita767a2f0a34034f2166e3b02e80bf00f67f522be (patch)
treefba1ed99378b4462fdba1d0a6fde665ad00800f1 /lib/private/Share20
parent7795f43b0a74f922e240e6887711348e17fb90cc (diff)
parent7cca169d98cda103471a725b330cdbf9c9b7c048 (diff)
downloadnextcloud-server-a767a2f0a34034f2166e3b02e80bf00f67f522be.tar.gz
nextcloud-server-a767a2f0a34034f2166e3b02e80bf00f67f522be.zip
Merge pull request #17735 from tcoupin/fix-reshare-circle
Fix reshare with circle
Diffstat (limited to 'lib/private/Share20')
-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 df537062e4a..728dd60e759 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 */