Skip to content
Snippets Groups Projects
Commit 6aa9daf4 authored by Bart Visscher's avatar Bart Visscher Committed by Bjoern Schiessle
Browse files

Users of getFolderContent are mostly interested in the unecrypted file size

parent db0b291f
Branches
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment