]> source.dussan.org Git - nextcloud-server.git/commitdiff
the Shared folder is no longer in the cache
authorRobin Appelman <icewind@owncloud.com>
Sat, 13 Oct 2012 12:32:23 +0000 (14:32 +0200)
committerRobin Appelman <icewind@owncloud.com>
Sat, 13 Oct 2012 12:52:49 +0000 (14:52 +0200)
settings/personal.php

index 9297f5d91cc4f542709e794672c0a15523b544a8..2031edd8df8839e0f492711b8502ff91dd6ec069 100644 (file)
@@ -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;