the Shared folder is no longer in the cache

remotes/origin/stable45
Robin Appelman 13 years ago
parent b5403de5e5
commit 7139de2a6e
  1. 7
      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;

Loading…
Cancel
Save