diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-04-29 15:14:48 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-14 10:10:37 +0200 |
commit | 65f3b2fad235417d3f653c9e11aa8d72e8944d28 (patch) | |
tree | fa863ea6c687bd42343e001be6dc975325a91c75 /lib/private/connector/sabre/directory.php | |
parent | 4a26219ecf3abe9c1b18d434b8e70a6f9878199c (diff) | |
download | nextcloud-server-65f3b2fad235417d3f653c9e11aa8d72e8944d28.tar.gz nextcloud-server-65f3b2fad235417d3f653c9e11aa8d72e8944d28.zip |
Add server<->server sharing backend
Diffstat (limited to 'lib/private/connector/sabre/directory.php')
-rw-r--r-- | lib/private/connector/sabre/directory.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/directory.php b/lib/private/connector/sabre/directory.php index aa467cec535..9904c3525c4 100644 --- a/lib/private/connector/sabre/directory.php +++ b/lib/private/connector/sabre/directory.php @@ -202,7 +202,8 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node * @return array */ public function getQuotaInfo() { - $storageInfo = OC_Helper::getStorageInfo($this->path); + $path = \OC\Files\Filesystem::getView()->getRelativePath($this->info->getPath()); + $storageInfo = OC_Helper::getStorageInfo($path); return array( $storageInfo['used'], $storageInfo['free'] |