diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-12-14 01:19:23 +0100 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-12-14 01:19:23 +0100 |
commit | 3844fb0e4ce093bb3c2e67d20f85f61b7723efdc (patch) | |
tree | 6a7fedb5f48a14970d5048e79807c71050f77e16 /lib/connector/sabre/directory.php | |
parent | 835d6a9b6e1be4eab22d138e0ef01e608a5597bf (diff) | |
download | nextcloud-server-3844fb0e4ce093bb3c2e67d20f85f61b7723efdc.tar.gz nextcloud-server-3844fb0e4ce093bb3c2e67d20f85f61b7723efdc.zip |
also use fscache when getting used space for webdav
Diffstat (limited to 'lib/connector/sabre/directory.php')
-rw-r--r-- | lib/connector/sabre/directory.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/connector/sabre/directory.php b/lib/connector/sabre/directory.php index 139c6b784b1..bb03851e39d 100644 --- a/lib/connector/sabre/directory.php +++ b/lib/connector/sabre/directory.php @@ -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() - ); + ); } |