Selaa lähdekoodia

fix quota calculation when a filesystem is mounted in a user home

tags/v11.0RC2
Robin Appelman 7 vuotta sitten
vanhempi
commit
ef2116a17a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      lib/private/legacy/helper.php

+ 1
- 1
lib/private/legacy/helper.php Näytä tiedosto

@@ -600,7 +600,7 @@ class OC_Helper {
/** @var \OC\Files\Storage\Wrapper\Quota $storage */
$quota = $sourceStorage->getQuota();
}
$free = $sourceStorage->free_space('');
$free = $sourceStorage->free_space($rootInfo->getInternalPath());
if ($free >= 0) {
$total = $free + $used;
} else {

Loading…
Peruuta
Tallenna