summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-11-19 10:05:50 +0100
committerVincent Petry <pvince81@owncloud.com>2013-11-19 10:05:50 +0100
commit4cb6c6fe64da526a6e00a3602db17ffcecfc780b (patch)
treef722f8180f0cda014c08b5088c79d698deb70be4
parent9ccaf85078da4efa28e5d4a7315459b1c8c68e9e (diff)
downloadnextcloud-server-4cb6c6fe64da526a6e00a3602db17ffcecfc780b.tar.gz
nextcloud-server-4cb6c6fe64da526a6e00a3602db17ffcecfc780b.zip
Fixed quota calculation to also exclude ext storage
-rw-r--r--lib/fileproxy/quota.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileproxy/quota.php b/lib/fileproxy/quota.php
index 3dac3264fbe..8c6d7f5c820 100644
--- a/lib/fileproxy/quota.php
+++ b/lib/fileproxy/quota.php
@@ -74,7 +74,7 @@ class OC_FileProxy_Quota extends OC_FileProxy{
$view = new \OC\Files\View("/".$owner."/files");
- $rootInfo = $view->getFileInfo('/');
+ $rootInfo = $view->getFileInfo('/', false);
$usedSpace = isset($rootInfo['size'])?$rootInfo['size']:0;
return $totalSpace - $usedSpace;
}