fix size calculation of getAllVersions()

This commit is contained in:
Bjoern Schiessle 2014-01-22 11:10:23 +01:00
parent 3b7fea25a3
commit 0b89a45f11
1 changed files with 1 additions and 1 deletions

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'];