[Pkg-owncloud-commits] [owncloud] 33/67: the Shared folder is no longer in the cache

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:10:37 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.1
in repository owncloud.

commit 7139de2a6e3e80fd54a61a1aaa8529d9f6883f3e
Author: Robin Appelman <icewind at owncloud.com>
Date:   Sat Oct 13 14:32:23 2012 +0200

    the Shared folder is no longer in the cache
---
 settings/personal.php |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/settings/personal.php b/settings/personal.php
index 9297f5d..2031edd 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -18,12 +18,7 @@ OC_App::setActiveNavigationEntry( 'personal' );
 // calculate the disc space
 $rootInfo=OC_FileCache::get('');
 $sharedInfo=OC_FileCache::get('/Shared');
-if (!isset($sharedInfo['size'])) {
-	$sharedSize = 0;
-} else {
-	$sharedSize = $sharedInfo['size'];
-}
-$used=$rootInfo['size']-$sharedSize;
+$used=$rootInfo['size'];
 if($used<0) $used=0;
 $free=OC_Filesystem::free_space();
 $total=$free+$used;

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