From bfa92ee70934ef51c6f214cb6155d5097efd30c2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Dec 2008 07:33:43 +0000 Subject: [PATCH] Updated multiple user edit && vacation range git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13252 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/personal/mail/class_mailAccount.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gosa-plugins/mail/personal/mail/class_mailAccount.inc b/gosa-plugins/mail/personal/mail/class_mailAccount.inc index e859f4099..27139dbd6 100644 --- a/gosa-plugins/mail/personal/mail/class_mailAccount.inc +++ b/gosa-plugins/mail/personal/mail/class_mailAccount.inc @@ -1246,9 +1246,7 @@ class mailAccount extends plugin $ret['flag_add'] = $flag_add; $ret['flag_remove'] = $flag_remove; - echo "1"; if($this->mailMethod->vacationRangeEnabled()){ - echo "2"; if(in_array("V",$flag_add)){ $ret['gosaVacationStart'] = $this->gosaVacationStart = $_POST['gosaVacationStart']; $ret['gosaVacationStop'] = $this->gosaVacationStop = $_POST['gosaVacationStop']; @@ -1290,7 +1288,7 @@ class mailAccount extends plugin $message[]= msgPool::required(_("Spam folder")); } - if ( in_array("use_vacation",$this->multi_boxes) && + if ($this->mailMethod->vacationRangeEnabled() && in_array("use_vacation",$this->multi_boxes) && preg_match('/V/', $this->gosaMailDeliveryMode) && $this->gosaVacationStart > $this->gosaVacationStop){ $message[]= msgPool::invalid(_("Vacation interval")); } -- 2.30.2