]> source.dussan.org Git - nextcloud-server.git/commitdiff
Put back string in $includeMounts as it actually does something
authorCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 24 Jan 2023 10:39:47 +0000 (11:39 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 7 Feb 2023 10:23:32 +0000 (11:23 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
lib/private/legacy/OC_Helper.php

index 61f87cdbed5385dca40d1316e49e92815fa7d0b3..c2036c7b8635408778e271df84d37d3f52ba21c1 100644 (file)
@@ -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;