diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-13 14:32:23 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-13 14:52:49 +0200 |
commit | 4c4fd36bddb9fa0e7bd40e195deb250e19d31add (patch) | |
tree | 06bed8525125348d93f25a9e75664426be1df1d4 /settings/personal.php | |
parent | 3c3e8c6c9898cfdf9861680b7e85534aed9af9e2 (diff) | |
download | nextcloud-server-4c4fd36bddb9fa0e7bd40e195deb250e19d31add.tar.gz nextcloud-server-4c4fd36bddb9fa0e7bd40e195deb250e19d31add.zip |
the Shared folder is no longer in the cache
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/settings/personal.php b/settings/personal.php index 9297f5d91cc..2031edd8df8 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; |