Code

update
[gosa.git] / plugins / admin / systems / class_terminalStartup.inc
index a4723b03c0a4bd0aada317b09571d861b6d5f993..6a80c0de5786968a146b954f092c94394105cf5b 100644 (file)
@@ -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");
   }