diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-11-19 13:05:50 +0400 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-11-19 13:05:50 +0400 |
commit | 4cb6c6fe64da526a6e00a3602db17ffcecfc780b (patch) | |
tree | f722f8180f0cda014c08b5088c79d698deb70be4 /lib | |
parent | 9ccaf85078da4efa28e5d4a7315459b1c8c68e9e (diff) |
Fixed quota calculation to also exclude ext storage
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fileproxy/quota.php | 2 |
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; } |