mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
run quota-recalc only if fsck fixed something
This commit is contained in:
parent
1f4cb50e74
commit
fc9ab417ed
@ -134,9 +134,11 @@ class Utils extends StreamWrapper
|
||||
}
|
||||
|
||||
// also run quota recalc as fsck might have (re-)moved files
|
||||
list($dirs, $iterations, $time) = Vfs\Sqlfs\Utils::quotaRecalc();
|
||||
$msgs[] = lang("Recalculated %1 directories in %2 iterations and %3 seconds", $dirs, $iterations, number_format($time, 1));
|
||||
|
||||
if (!$check_only && $msgs)
|
||||
{
|
||||
list($dirs, $iterations, $time) = Vfs\Sqlfs\Utils::quotaRecalc();
|
||||
$msgs[] = lang("Recalculated %1 directories in %2 iterations and %3 seconds", $dirs, $iterations, number_format($time, 1));
|
||||
}
|
||||
return $msgs;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user