From: Thomas Müller Date: Thu, 29 Aug 2013 08:49:50 +0000 (+0200) Subject: webdav quota information contains the values for used and free - not total X-Git-Tag: v6.0.0alpha2~246 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=301cce54ccdc1dcd1bd63bf4285e870e300979b7;p=nextcloud-server.git webdav quota information contains the values for used and free - not total --- diff --git a/lib/connector/sabre/directory.php b/lib/connector/sabre/directory.php index 66cd2fcd4e3..3181a4b310f 100644 --- a/lib/connector/sabre/directory.php +++ b/lib/connector/sabre/directory.php @@ -236,7 +236,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa $storageInfo = OC_Helper::getStorageInfo($this->path); return array( $storageInfo['used'], - $storageInfo['total'] + $storageInfo['free'] ); }