diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-11-14 17:06:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-14 17:06:28 +0100 |
commit | c9b1108e8e1380dbc266dcfca1020ff3f8fa48e1 (patch) | |
tree | 80836596b68e15f949eb5e8fb4e6066daf04f909 /apps/files | |
parent | 030118cd85486c4243d3e5e3c7f6240fe10453c4 (diff) | |
parent | 3fe7186e319233dac0f32ab09b60adce5ad3b4aa (diff) | |
download | nextcloud-server-c9b1108e8e1380dbc266dcfca1020ff3f8fa48e1.tar.gz nextcloud-server-c9b1108e8e1380dbc266dcfca1020ff3f8fa48e1.zip |
Merge pull request #2110 from nextcloud/oc_26526
First process group shares and then user shares
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/lib/Command/TransferOwnership.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Command/TransferOwnership.php b/apps/files/lib/Command/TransferOwnership.php index 3b51e4a9e6d..c8366be32c4 100644 --- a/apps/files/lib/Command/TransferOwnership.php +++ b/apps/files/lib/Command/TransferOwnership.php @@ -188,7 +188,7 @@ class TransferOwnership extends Command { $output->writeln("Collecting all share information for files and folder of $this->sourceUser ..."); $progress = new ProgressBar($output, count($this->shares)); - foreach([\OCP\Share::SHARE_TYPE_USER, \OCP\Share::SHARE_TYPE_GROUP, \OCP\Share::SHARE_TYPE_LINK, \OCP\Share::SHARE_TYPE_REMOTE] as $shareType) { + foreach([\OCP\Share::SHARE_TYPE_GROUP, \OCP\Share::SHARE_TYPE_USER, \OCP\Share::SHARE_TYPE_LINK, \OCP\Share::SHARE_TYPE_REMOTE] as $shareType) { $offset = 0; while (true) { $sharePage = $this->shareManager->getSharesBy($this->sourceUser, $shareType, null, true, 50, $offset); |