X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_terminalStartup.inc;h=6a80c0de5786968a146b954f092c94394105cf5b;hb=d77692031a0b3343cb7306f9bdd449208291eb17;hp=a4723b03c0a4bd0aada317b09571d861b6d5f993;hpb=3082209baacc737659b444a6de4ed6ef5588faaf;p=gosa.git diff --git a/plugins/admin/systems/class_terminalStartup.inc b/plugins/admin/systems/class_terminalStartup.inc index a4723b03c..6a80c0de5 100644 --- a/plugins/admin/systems/class_terminalStartup.inc +++ b/plugins/admin/systems/class_terminalStartup.inc @@ -87,6 +87,7 @@ class termstartup extends plugin { /* Call parent execute */ plugin::execute(); + /* Do we need to flip is_account state? */ if (isset($_POST['modify_state'])){ $this->is_account= !$this->is_account; @@ -195,10 +196,7 @@ class termstartup extends plugin function remove_from_parent() { - $ldap= $this->config->get_ldap_link(); - $ldap->rmdir($this->dn); - show_ldap_error($ldap->get_error()); - $this->handle_post_events("remove"); + $this->handle_post_events("remove"); }