continue cleaning-up old versions if availableSpace=0. It's not necessary but gives us some additional free space, especially in the case of a hard quota
This commit is contained in:
parent
fbf34f3bf6
commit
15f7bb296c
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ class Storage {
|
|||
$versionsSize = $versionsSize - $sizeOfDeletedVersions;
|
||||
|
||||
// if still not enough free space we rearrange the versions from all files
|
||||
if ($availableSpace < 0 || $allFiles) {
|
||||
if ($availableSpace <= 0 || $allFiles) {
|
||||
$result = Storage::getAllVersions($uid);
|
||||
$versions_by_file = $result['by_file'];
|
||||
$all_versions = $result['all'];
|
||||
|
|
Loading…
Reference in a new issue