From: hickert Date: Thu, 11 Dec 2008 12:54:31 +0000 (+0000) Subject: Updated mailMethod. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bd5951543142cdfaa74ca1e009fc017736381472;p=gosa.git Updated mailMethod. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13259 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/personal/mail/class_mail-methods.inc b/gosa-plugins/mail/personal/mail/class_mail-methods.inc index ad049adba..2dac9998c 100644 --- a/gosa-plugins/mail/personal/mail/class_mail-methods.inc +++ b/gosa-plugins/mail/personal/mail/class_mail-methods.inc @@ -735,7 +735,7 @@ class mailMethod{ }elseif(empty($quota)){ return("  "._("Unlimited")); }else{ - $usage =(int) ($use/$quota) * 100; + $usage =round(($use/$quota) * 100); return(""); } } diff --git a/gosa-plugins/mail/personal/mail/class_mailAccount.inc b/gosa-plugins/mail/personal/mail/class_mailAccount.inc index 27139dbd6..958770a58 100644 --- a/gosa-plugins/mail/personal/mail/class_mailAccount.inc +++ b/gosa-plugins/mail/personal/mail/class_mailAccount.inc @@ -406,8 +406,6 @@ class mailAccount extends plugin $smarty->assign("allowSieveManagement", $this->mailMethod->allowSieveManagement()); $smarty->assign("own_script", $this->sieveManagementUsed); - print_a($this->multi_boxes); - /* _Multiple users vars_ */ foreach($this->attributes as $attr){ $u_attr = "use_".$attr;