Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-11-19 13:05:50 +0400
committerVincent Petry <pvince81@owncloud.com>2013-11-19 13:05:50 +0400
commit4cb6c6fe64da526a6e00a3602db17ffcecfc780b (patch)
treef722f8180f0cda014c08b5088c79d698deb70be4 /lib
parent9ccaf85078da4efa28e5d4a7315459b1c8c68e9e (diff)
Fixed quota calculation to also exclude ext storage
Diffstat (limited to 'lib')
-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;
}