Skip to content

Commit

Permalink
Merge pull request #45110 from nextcloud/backport/45105/stable28
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Jun 7, 2024
2 parents 378833e + 2297169 commit 1aeb49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/lib/Service/OwnershipTransferService.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ protected function analyse(string $sourceUid,

$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)) {
Expand Down

0 comments on commit 1aeb49e

Please sign in to comment.