]> source.dussan.org Git - nextcloud-server.git/commitdiff
webdav quota information contains the values for used and free - not total
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 29 Aug 2013 08:49:50 +0000 (10:49 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 29 Aug 2013 10:34:48 +0000 (12:34 +0200)
lib/connector/sabre/directory.php

index 66cd2fcd4e3b6beaec89116024f641062f2ea3a4..3181a4b310f06515a1504ff14708f16c1c6fcbb2 100644 (file)
@@ -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']
                );
 
        }