Users of getFolderContent are mostly interested in the unecrypted file size
This commit is contained in:
parent
db0b291f63
commit
6aa9daf4e6
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue