From: hickert Date: Thu, 23 Jun 2005 13:02:36 +0000 (+0000) Subject: removed old stuff, we don't need that anymore X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7edad16a2481d7b639d9521a42143457aa8e30e9;p=gosa.git removed old stuff, we don't need that anymore git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@815 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index b131b2b98..dd7c76777 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -251,11 +251,11 @@ class phoneAccount extends plugin $str=""; } @@ -380,28 +380,6 @@ class phoneAccount extends plugin } $smarty->assign("forwarder_list", $forwarder_list); - - - /* Check box * / - if ($this->parent->by_object['mailAccount'] && - $this->parent->by_object['mailAccount']->is_account && - preg_match("/M/i", $this->goFonDeliveryMode)){ - $smarty->assign("fon_to_mail", "checked"); - } else { - $smarty->assign("fon_to_mail", ""); - } - - - if (!isset($this->parent->by_object['mailAccount'])) { - $smarty->assign("has_mailaccount", "false"); - $this->has_mailAccount= false; - } elseif ( !$this->parent->by_object['mailAccount']->is_account){ - $smarty->assign("has_mailaccount", "false"); - $this->has_mailAccount= false; - } else { - $smarty->assign("has_mailaccount", "true"); - } - */ /* Show main page */ $display.= $smarty->fetch(get_template_path('generic.tpl', TRUE, dirname(__FILE__))); return($display); @@ -437,13 +415,6 @@ class phoneAccount extends plugin } } - - /* Check if mail account is active and correct the internal - reference to represent the current status. * / - if ($this->parent->by_object['mailAccount']->is_account){ - $this->has_mailAccount= TRUE; - } - */ /* Every macro in the select box are available */ if((isset($_POST['macro']))){ $this->macrostillavailable=true; @@ -507,13 +478,6 @@ class phoneAccount extends plugin { plugin::save(); - /* goFonAccount has "mail" as must! Block if no mailaddress is specified... * / - if (isset($this->parent->by_object['mailAccount']) && - !$this->parent->by_object['mailAccount']->is_account) { - - $this->goFonDeliveryMode= preg_replace("/M/i", "", $this->goFonDeliveryMode); - } - */ /* Save arrays */ $this->attrs['telephoneNumber']= array(); foreach ($this->phoneNumbers as $number){