diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-02-13 16:01:28 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-02-13 17:59:58 +0100 |
commit | 9abaa0cc615ba5326a3990ad79b94e46db423cf2 (patch) | |
tree | 2ac6b72c0f603a7f3c87a2bf00beea9a5082303b /lib/private | |
parent | fb2a3284dfff5c52ba603d672fbb11cd88942bc6 (diff) | |
download | nextcloud-server-9abaa0cc615ba5326a3990ad79b94e46db423cf2.tar.gz nextcloud-server-9abaa0cc615ba5326a3990ad79b94e46db423cf2.zip |
pass fileinfo to getStorageInfo
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/connector/sabre/directory.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/connector/sabre/directory.php b/lib/private/connector/sabre/directory.php index 702addfe529..7c35bfa1791 100644 --- a/lib/private/connector/sabre/directory.php +++ b/lib/private/connector/sabre/directory.php @@ -241,8 +241,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node return $this->quotaInfo; } try { - $path = \OC\Files\Filesystem::getView()->getRelativePath($this->info->getPath()); - $storageInfo = OC_Helper::getStorageInfo($path); + $storageInfo = OC_Helper::getStorageInfo($this->info->getPath(), $this->info); $this->quotaInfo = array( $storageInfo['used'], $storageInfo['free'] |