diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-06-07 12:01:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 12:01:47 +0200 |
commit | 1aeb49e74f3a1de25f8b68fb4eaf7976db5f5be7 (patch) | |
tree | 773b76fa53f5c127238a3c01895774d4be596b24 /apps | |
parent | 378833e34355cd29b2de250eeeac05ca929a0ef8 (diff) | |
parent | 229716939ef309ade28326c04388fdd67dda675e (diff) | |
download | nextcloud-server-1aeb49e74f3a1de25f8b68fb4eaf7976db5f5be7.tar.gz nextcloud-server-1aeb49e74f3a1de25f8b68fb4eaf7976db5f5be7.zip |
Merge pull request #45110 from nextcloud/backport/45105/stable28
Diffstat (limited to 'apps')
-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 da60c12b49f..4c0d468516a 100644 --- a/apps/files/lib/Service/OwnershipTransferService.php +++ b/apps/files/lib/Service/OwnershipTransferService.php @@ -244,7 +244,7 @@ class OwnershipTransferService { $encryptedFiles = []; $this->walkFiles($view, $sourcePath, - function (FileInfo $fileInfo) use ($progress) { + function (FileInfo $fileInfo) use ($progress, &$encryptedFiles) { if ($fileInfo->getType() === FileInfo::TYPE_FOLDER) { // only analyze into folders from main storage, if (!$fileInfo->getStorage()->instanceOfStorage(IHomeStorage::class)) { |