mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
also use fscache when getting used space for webdav
This commit is contained in:
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()
|
||||
);
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue