Code

Fixed headpage
[gosa.git] / plugins / admin / systems / class_terminalService.inc
index fc9f54b063f6f5475b8081f7533013aecd733dec..6cce41a472e530ac7f8f8f0ecd40881c50561157 100644 (file)
@@ -127,6 +127,7 @@ class termservice 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;
@@ -208,9 +209,6 @@ class termservice 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");
   }