From c2e0b965159e0ace82cdc60cd58455f87171c87f Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 14 Mar 2008 09:41:58 +0000 Subject: [PATCH] msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9809 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/services/mail/class_goMailServer.inc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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; } -- 2.30.2