Users of getFolderContent are mostly interested in the unecrypted file size

remotes/origin/ldap_group_count
Bart Visscher 2013-11-14 08:48:06 +07:00 committed by Bjoern Schiessle
parent db0b291f63
commit 6aa9daf4e6
1 changed files with 4 additions and 0 deletions

@ -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 {