From bd5951543142cdfaa74ca1e009fc017736381472 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Dec 2008 12:54:31 +0000 Subject: [PATCH] Updated mailMethod. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13259 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/personal/mail/class_mail-methods.inc | 2 +- gosa-plugins/mail/personal/mail/class_mailAccount.inc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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; -- 2.30.2