From 4c4fd36bddb9fa0e7bd40e195deb250e19d31add Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Sat, 13 Oct 2012 14:32:23 +0200
Subject: [PATCH] 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 9297f5d91c..2031edd8df 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;
-- 
GitLab