From 4cb6c6fe64da526a6e00a3602db17ffcecfc780b Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 19 Nov 2013 10:05:50 +0100 Subject: Fixed quota calculation to also exclude ext storage --- lib/fileproxy/quota.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3