From: hickert Date: Thu, 11 Dec 2008 07:33:43 +0000 (+0000) Subject: Updated multiple user edit && vacation range X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bfa92ee70934ef51c6f214cb6155d5097efd30c2;p=gosa.git Updated multiple user edit && vacation range git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13252 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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")); }