summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-24 11:39:47 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-02-07 11:23:32 +0100
commitb7d9e43e2579613b878aeccaaf3fcb5144770f9e (patch)
tree7eac4c4fe2876fe9238c384f8982937a51cb7bfe
parentd315bce30041b8521db1433ea115a021b261ebf6 (diff)
downloadnextcloud-server-b7d9e43e2579613b878aeccaaf3fcb5144770f9e.tar.gz
nextcloud-server-b7d9e43e2579613b878aeccaaf3fcb5144770f9e.zip
Put back string in $includeMounts as it actually does something
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--lib/private/legacy/OC_Helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Helper.php b/lib/private/legacy/OC_Helper.php
index 61f87cdbed5..c2036c7b863 100644
--- a/lib/private/legacy/OC_Helper.php
+++ b/lib/private/legacy/OC_Helper.php
@@ -582,7 +582,7 @@ class OC_Helper {
* Get storage info including all mount points and quota
*/
private static function getGlobalStorageInfo(int|float $quota, IUser $user, IMountPoint $mount): array {
- $rootInfo = \OC\Files\Filesystem::getFileInfo('', true);
+ $rootInfo = \OC\Files\Filesystem::getFileInfo('', 'ext');
$used = $rootInfo['size'];
if ($used < 0) {
$used = 0;