summaryrefslogtreecommitdiffstats
path: root/lib/connector
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 10:49:50 +0200
commit1445a12e9e98589e2df4b10d7a62c139a50a3a90 (patch)
tree51ab89f552b71742e23bfdd641db73356f7e9144 /lib/connector
parentda504295fe7d6f360cbf6156f4c2edf5b3b521a8 (diff)
downloadnextcloud-server-1445a12e9e98589e2df4b10d7a62c139a50a3a90.tar.gz
nextcloud-server-1445a12e9e98589e2df4b10d7a62c139a50a3a90.zip
webdav quota information contains the values for used and free - not total
Diffstat (limited to 'lib/connector')
-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 9c959c32aa0..1434e970587 100644
--- a/lib/connector/sabre/directory.php
+++ b/lib/connector/sabre/directory.php
@@ -237,7 +237,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']
);
}