We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f80900 commit a4ae330Copy full SHA for a4ae330
server/lib/classes/cron.d/100-monitor_email_quota.inc.php
@@ -85,7 +85,11 @@ public function onRunJob() {
85
if ($retval = 64) {
86
foreach ($res as $v) {
87
$s = preg_split('/\s+/', $v);
88
- if ($s[2] == 'STORAGE') $dovecotQuotaUsage[$s[0]] = $s[3] * 1024; // doveadm output is in kB
+ if ($s[2] == 'STORAGE') {
89
+ $dovecotQuotaUsage[$s[0]] = $s[3] * 1024; // doveadm output is in kB
90
+ } elseif ($s[3] == 'STORAGE') {
91
+ $dovecotQuotaUsage[$s[0]] = $s[4] * 1024; // doveadm output is in kB
92
+ }
93
}
94
95
0 commit comments