Code

Removed duplicated post event.
[gosa.git] / plugins / admin / systems / class_termDNS.inc
index fb11f58ad5fb79dbf575ffdf3cf82fc7bfbd0f1e..bcaaf8b872263fa0f6b592004de1b3ebf9fcbf1c 100644 (file)
@@ -655,8 +655,6 @@ class termDNS extends plugin
         $tmp = new servdhcp($this->config,$this->dhcpParentNode);
         $tmp->handle_post_events("add");
 
-#        print_a($attrs);
-#        print("cn=".$this->cn.",".$this->dhcpParentNode);
         show_ldap_error($ldap->get_error(),_("Tried to add new dhcp entry failed."));
       }
 
@@ -698,10 +696,6 @@ class termDNS extends plugin
           show_ldap_error($ldap->get_error(),_("Modifying dhcp entry failed."));
         }    
       }
-
-      /* Handle post event */
-      $tmp = new servdns($this->config,$this->dn);
-      $tmp->handle_post_events("modify");
     }