Fix SPACE_UNKNOWN constant
This commit is contained in:
parent
756f64d728
commit
c71deea0d5
|
@ -745,7 +745,7 @@ class Trashbin {
|
||||||
if ($quota === null || $quota === 'none') {
|
if ($quota === null || $quota === 'none') {
|
||||||
$quota = \OC\Files\Filesystem::free_space('/');
|
$quota = \OC\Files\Filesystem::free_space('/');
|
||||||
$softQuota = false;
|
$softQuota = false;
|
||||||
if ($quota === \OC\Files\SPACE_UNKNOWN) {
|
if ($quota === \OCP\Files\FileInfo::SPACE_UNKNOWN) {
|
||||||
$quota = 0;
|
$quota = 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue