summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThibault Coupin <thibault.coupin@gmail.com>2019-10-29 12:26:53 +0100
committerThibault Coupin <thibault.coupin@gmail.com>2019-10-29 14:56:52 +0100
commit7cca169d98cda103471a725b330cdbf9c9b7c048 (patch)
treeb699b8aba2478acee0f99023262503ef58718a1a /lib
parent3b8f83f5af748bbf874b3c5e678de8eccf9b3384 (diff)
downloadnextcloud-server-7cca169d98cda103471a725b330cdbf9c9b7c048.tar.gz
nextcloud-server-7cca169d98cda103471a725b330cdbf9c9b7c048.zip
Fix reshare with circle
Signed-off-by: Thibault Coupin <thibault.coupin@gmail.com>
Diffstat (limited to 'lib')
-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 */