fix size calculation of getAllVersions()
This commit is contained in:
parent
3b7fea25a3
commit
0b89a45f11
|
@ -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…
Reference in New Issue