From 3844fb0e4ce093bb3c2e67d20f85f61b7723efdc Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 14 Dec 2011 01:19:23 +0100 Subject: also use fscache when getting used space for webdav --- lib/connector/sabre/directory.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/connector/sabre/directory.php') 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() - ); + ); } -- cgit v1.2.3