From: hickert Date: Fri, 14 Mar 2008 09:41:58 +0000 (+0000) Subject: msgPool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c2e0b965159e0ace82cdc60cd58455f87171c87f;p=gosa.git msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9809 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc b/gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc index 2b89ca8a8..1b85e4e3d 100644 --- a/gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc +++ b/gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc @@ -596,19 +596,15 @@ class goMailServer extends goService{ function check() { $message =plugin::check(); - if(!is_numeric($this->postfixHeaderSizeLimit)){ - $message[] = _("Please specify a numeric value for header size limit."); + $message[] = msgPool::invalid(_("Header size limit",$this->postfixHeaderSizeLimit,"/[0-9]/"); } - if(!is_numeric($this->postfixMailboxSizeLimit)){ - $message[] = _("Please specify a numeric value for mailbox size limit."); + $message[] = msgPool::invalid(_("Mailbox size limit",$this->postfixMailboxSizeLimit,"/[0-9]/"); } - if(!is_numeric($this->postfixMessageSizeLimit)){ - $message[] = _("Please specify a numeric value for message size limit."); + $message[] = msgPool::invalid(_("Message size limit",$this->postfixMessageSizeLimit,"/[0-9]/"); } - return $message; }