summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorrawtaz <rawtaz@users.noreply.github.com>2020-07-15 13:51:04 +0200
committerGitHub <noreply@github.com>2020-07-15 13:51:04 +0200
commit97d82e2a644a0f314bcc0ac99679d19d57853709 (patch)
treea36a9c458ee9a87e35774a0f15d58aa9661b53df /apps/files/lib
parent618460477140f6c72a4ffe8acdfa9ba322bad2b3 (diff)
downloadnextcloud-server-97d82e2a644a0f314bcc0ac99679d19d57853709.tar.gz
nextcloud-server-97d82e2a644a0f314bcc0ac99679d19d57853709.zip
Include circle shares when transferring ownership
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Service/OwnershipTransferService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Service/OwnershipTransferService.php b/apps/files/lib/Service/OwnershipTransferService.php
index 5f2345555b2..2d9e7bad63d 100644
--- a/apps/files/lib/Service/OwnershipTransferService.php
+++ b/apps/files/lib/Service/OwnershipTransferService.php
@@ -239,7 +239,7 @@ class OwnershipTransferService {
$shares = [];
$progress = new ProgressBar($output);
- foreach ([IShare::TYPE_GROUP, IShare::TYPE_USER, IShare::TYPE_LINK, IShare::TYPE_REMOTE, IShare::TYPE_ROOM, IShare::TYPE_EMAIL] as $shareType) {
+ foreach ([IShare::TYPE_GROUP, IShare::TYPE_USER, IShare::TYPE_LINK, IShare::TYPE_REMOTE, IShare::TYPE_ROOM, IShare::TYPE_EMAIL, IShare::TYPE_CIRCLE] as $shareType) {
$offset = 0;
while (true) {
$sharePage = $this->shareManager->getSharesBy($sourceUid, $shareType, null, true, 50, $offset);