Users of getFolderContent are mostly interested in the unecrypted file size

remotes/origin/ldap_group_count
Bart Visscher 12 years ago committed by Bjoern Schiessle
parent db0b291f63
commit 6aa9daf4e6
  1. 4
      lib/private/files/cache/cache.php

@ -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…
Cancel
Save