From: cajus Date: Fri, 19 Aug 2005 14:43:36 +0000 (+0000) Subject: Activated proper state submission X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=140442f40220843150caa3b543f4f1b0a182d885;p=gosa.git Activated proper state submission git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1191 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index dfb346ca3..4d9b89b41 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -24,8 +24,6 @@ class phoneAccount extends plugin var $macrostillavailable = false; var $generate_error = ""; var $a_old_telenums = array(); - var $uid; - var $cn; /* CLI vars */ var $cli_summary = "Manage users phone account"; @@ -33,7 +31,7 @@ class phoneAccount extends plugin var $cli_parameters = array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser"); /* attribute list for save action */ - var $attributes = array("goFonDeliveryMode", "goFonFormat", + var $attributes = array("goFonDeliveryMode", "goFonFormat", "uid", "goFonHardware", "goFonPIN", "telephoneNumber", "goFonMacro","macro"); var $objectclasses= array("goFonAccount"); @@ -467,15 +465,6 @@ class phoneAccount extends plugin return ($display); } - /* force postmodify event, to restart phones */ - if ($this->parent != NULL){ - $this->parent->by_object['user']->is_modified=TRUE; - $this->is_modified= TRUE; - - $this->uid = $this->parent->by_object['user']->uid; - $this->cn = $this->parent->by_object['user']->cn; - } - /* Do we need to flip is_account state? */ if (isset($_POST['modify_state'])){ $this->is_account= !$this->is_account;