aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-29 10:49:50 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-29 12:34:48 +0200
commit301cce54ccdc1dcd1bd63bf4285e870e300979b7 (patch)
tree780086dfd08efdd2cb23ac595217cd915d479a01
parentea6e74ca9546ca95b3a6372c6106cd8ab2ea2ee9 (diff)
downloadnextcloud-server-301cce54ccdc1dcd1bd63bf4285e870e300979b7.tar.gz
nextcloud-server-301cce54ccdc1dcd1bd63bf4285e870e300979b7.zip
webdav quota information contains the values for used and free - not total
-rw-r--r--lib/connector/sabre/directory.php2
1 files changed, 1 insertions, 1 deletions
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']
);
}