]> source.dussan.org Git - nextcloud-server.git/commitdiff
Include circle shares when transferring ownership 21797/head
authorrawtaz <rawtaz@users.noreply.github.com>
Wed, 15 Jul 2020 11:51:04 +0000 (13:51 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 11:51:04 +0000 (13:51 +0200)
apps/files/lib/Service/OwnershipTransferService.php

index 5f2345555b232d40cc0e475903ded7cc809f70ac..2d9e7bad63d97ec30767eec2440ce84366c9bcdb 100644 (file)
@@ -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);