[Pkg-owncloud-commits] [owncloud] 29/42: fix size calculation
David Prévot
taffit at moszumanska.debian.org
Wed Jan 22 21:21:50 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit fea0ba84c56e468a57ab9412237b47886da2bfe3
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Wed Jan 22 11:28:09 2014 +0100
fix size calculation
---
apps/files_versions/lib/versions.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php
index 130b714..8c67d75 100644
--- a/apps/files_versions/lib/versions.php
+++ b/apps/files_versions/lib/versions.php
@@ -403,7 +403,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'];
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list