diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 16:08:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 16:08:51 +0200 |
commit | 420a3762cba2f8ef300f95f7c9de188bcbef65bb (patch) | |
tree | 37c0f2103235b30686f8fad442ecb627dfe1194c /apps/files/lib | |
parent | ac739823958d8cef6fd6e645f8f9f9af89dc7b8f (diff) | |
parent | 97d82e2a644a0f314bcc0ac99679d19d57853709 (diff) | |
download | nextcloud-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.php | 2 |
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); |