From 6b524f5d570115e747d50d515be10e5ed67d423c Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 24 Mar 2010 12:53:45 +0000 Subject: [PATCH] Disabled goFonDeliveryMode Post checks - there is no delivery mode posted git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17074 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gofon/phoneaccount/class_phoneAccount.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc index a21752907..403057da9 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc @@ -1329,13 +1329,13 @@ class phoneAccount extends plugin /* Save checkbox */ $tmp = preg_replace("/[^a-z]/i","",$this->goFonDeliveryMode); - if($this->acl_is_writeable("goFonDeliveryMode",$SkipWrite)){ - if(isset($_POST['fon_to_mail']) && !preg_match("/M/",$this->goFonDeliveryMode)){ - $tmp .= "M"; - }elseif(!isset($_POST['fon_to_mail']) && preg_match("/M/",$this->goFonDeliveryMode)){ - $tmp = preg_replace ("/M/","",$tmp); - } - } +// if($this->acl_is_writeable("goFonDeliveryMode",$SkipWrite)){ +// if(isset($_POST['fon_to_mail']) && !preg_match("/M/",$this->goFonDeliveryMode)){ +// $tmp .= "M"; +// }elseif(!isset($_POST['fon_to_mail']) && preg_match("/M/",$this->goFonDeliveryMode)){ +// $tmp = preg_replace ("/M/","",$tmp); +// } +// } $this->goFonDeliveryMode= "[".$tmp."]"; -- 2.30.2