fix size calculation of getAllVersions()

remotes/origin/ldap_group_count
Bjoern Schiessle 11 years ago
parent 3b7fea25a3
commit 0b89a45f11
  1. 2
      apps/files_versions/lib/versions.php

@ -402,7 +402,7 @@ class Storage {
$result = array();
foreach ($versions as $key => $value) {
$size = $view->filesize($value['path']);
$size = $view->filesize(self::VERSIONS_ROOT.'/'.$value['path'].'.v'.$value['timestamp']);
$filename = $value['path'];
$result['all'][$key]['version'] = $value['timestamp'];

Loading…
Cancel
Save