summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-20 16:08:51 +0200
committerGitHub <noreply@github.com>2020-08-20 16:08:51 +0200
commit420a3762cba2f8ef300f95f7c9de188bcbef65bb (patch)
tree37c0f2103235b30686f8fad442ecb627dfe1194c /apps/files/lib
parentac739823958d8cef6fd6e645f8f9f9af89dc7b8f (diff)
parent97d82e2a644a0f314bcc0ac99679d19d57853709 (diff)
downloadnextcloud-server-420a3762cba2f8ef300f95f7c9de188bcbef65bb.tar.gz
nextcloud-server-420a3762cba2f8ef300f95f7c9de188bcbef65bb.zip
Merge pull request #21797 from rawtaz/patch-1
Include e-mail 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 b04a53919ac..e20726585e4 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] 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);