also use fscache when getting used space for webdav

remotes/origin/stable4
Robin Appelman 2011-12-14 01:19:23 +07:00
parent 835d6a9b6e
commit 3844fb0e4c
1 changed files with 3 additions and 3 deletions

@ -116,11 +116,11 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
* @return array
*/
public function getQuotaInfo() {
$rootInfo=OC_FileCache::get('');
return array(
OC_Filesystem::filesize('/'),
$rootInfo['size'],
OC_Filesystem::free_space()
);
);
}