From: hickert Date: Tue, 4 Sep 2007 12:46:37 +0000 (+0000) Subject: Added post events to dns X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8d6e4814f11a4b3cb63446b7923cc8dd09fe0dd5;p=gosa.git Added post events to dns git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7211 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servDNS.inc b/plugins/admin/systems/class_servDNS.inc index 7f562a622..489ebfd11 100644 --- a/plugins/admin/systems/class_servDNS.inc +++ b/plugins/admin/systems/class_servDNS.inc @@ -321,6 +321,7 @@ class servdns extends plugin $ldap->cd($dn); $ldap->rmdir_recursive($dn); show_ldap_error($ldap->get_error(), _("Removing DNS entries failed")); + $this->handle_post_events("remove",array("dn" => $dn)); } /* move follwoing entries @@ -338,10 +339,12 @@ class servdns extends plugin $ldap->cd($dn); $ldap->modify ($attrs); show_ldap_error($ldap->get_error(), _("Saving DNS entries failed")); + $this->handle_post_events("modify",array("dn" => $dn)); }else{ $ldap->cd($dn); $ldap->add($attrs); show_ldap_error($ldap->get_error(), _("Saving DNS entries failed")); + $this->handle_post_events("add",array("dn" => $dn)); } } }