Browse Source

fix size calculation of getAllVersions()

tags/v7.0.0alpha2
Bjoern Schiessle 10 years ago
parent
commit
0b89a45f11
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/files_versions/lib/versions.php

+ 1
- 1
apps/files_versions/lib/versions.php View File

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