Verified Commit d5bc1248 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(dovecot) Fix getting quota in dovecot

issue #5966
Showing with 11 additions and 1 deletion
+11 -1
......@@ -162,10 +162,20 @@ class mailMethodDovecot extends mailMethod
}
}
/* Get quota in MB */
public function getQuota ($quota)
{
parent::getQuota($quota);
if (!$this->quota_loaded) {
$this->loadQuota();
}
return $this->quotaValue;
}
/* Get quota usage in MB */
public function getQuotaUsage ()
{
mailMethod::getQuotaUsage();
parent::getQuotaUsage();
if (!$this->quota_loaded) {
$this->loadQuota();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment