Only fetch size of this storage without mount points - ref #14412
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
f6967a974f
commit
4704e719ed
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ class Trashbin {
|
|||
if(is_null($userFolder)) {
|
||||
return 0;
|
||||
}
|
||||
$free = $quota - $userFolder->getSize(); // remaining free space for user
|
||||
$free = $quota - $userFolder->getSize(false); // remaining free space for user
|
||||
if ($free > 0) {
|
||||
$availableSpace = ($free * self::DEFAULTMAXSIZE / 100) - $trashbinSize; // how much space can be used for versions
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue