Users of getFolderContent are mostly interested in the unecrypted file size

This commit is contained in:
Bart Visscher 2013-11-14 08:48:06 +01:00 committed by Bjoern Schiessle
parent db0b291f63
commit 6aa9daf4e6
1 changed files with 4 additions and 0 deletions

View File

@ -178,6 +178,10 @@ class Cache {
if ($file['storage_mtime'] == 0) {
$file['storage_mtime'] = $file['mtime'];
}
if ($file['encrypted']) {
$file['encrypted_size'] = $file['size'];
$file['size'] = $file['unencrypted_size'];
}
}
return $files;
} else {