mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Set mail quota warning to less than 50 MB
This commit is contained in:
parent
064dbbb12a
commit
5de31bfe1f
@ -4483,13 +4483,14 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
|
||||
if($quota !== false && $quota['limit'] != 'NOT SET') {
|
||||
$quotainfo = $this->quotaDisplay($quota['usage'], $quota['limit']);
|
||||
$quotaMin = $quotainfo['freespace']/pow(1024, 2);
|
||||
$content = array (
|
||||
'quota' => $quotainfo['text'],
|
||||
'quotainpercent' => (string)$quotainfo['percent'],
|
||||
'quotaclass' => $quotainfo['class'],
|
||||
'quotanotsupported' => "",
|
||||
'profileid' => $icServerID,
|
||||
'quotawarning' => ($quotainfo['freespace']/pow(1024, 2)) < 50 && $quotainfo['percent'] >= 99 ? true : false
|
||||
'quotawarning' => $quotaMin < 50 ? true : false
|
||||
);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user