Code

Removed duplicated post event.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Oct 2007 13:25:19 +0000 (13:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Oct 2007 13:25:19 +0000 (13:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7621 594d385d-05f5-0310-b6e9-bd551577e9d8

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");
     }