Merge pull request #21797 from rawtaz/patch-1
Include e-mail shares when transferring ownership
This commit is contained in:
commit
420a3762cb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue