From: hickert Date: Fri, 19 Oct 2007 13:58:03 +0000 (+0000) Subject: Just one event should be initiated X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7b9c04bb0cec63f41dd1b719b1d7a129a08a4a4e;p=gosa.git Just one event should be initiated git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7607 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servDNS.inc b/plugins/admin/systems/class_servDNS.inc index b8c6c1876..5ca4a91fc 100644 --- a/plugins/admin/systems/class_servDNS.inc +++ b/plugins/admin/systems/class_servDNS.inc @@ -434,8 +434,8 @@ class servdns extends plugin /* Handle Post events */ if(preg_match("/^zoneName=/",$dn)){ - $this->handle_post_events("remove",array("dn" => $dn,"zoneName" => $for)); - $this->handle_post_events("remove",array("dn" => $dn,"zoneName" => $rev)); +# $this->handle_post_events("remove",array("dn" => $dn,"zoneName" => $for)); +# $this->handle_post_events("remove",array("dn" => $dn,"zoneName" => $rev)); } } @@ -457,7 +457,7 @@ class servdns extends plugin /* Handle Post events */ if(preg_match("/^zoneName=/",$dn)){ - $this->handle_post_events("modify",array("dn" => $dn,"zoneName" => $attrs['zoneName'])); +# $this->handle_post_events("modify",array("dn" => $dn,"zoneName" => $attrs['zoneName'])); } }else{ $ldap->cd($dn); @@ -466,10 +466,11 @@ class servdns extends plugin /* Handle Post events */ if(preg_match("/^zoneName=/",$dn)){ - $this->handle_post_events("add",array("dn" => $dn,"zoneName" => $attrs['zoneName'])); +# $this->handle_post_events("add",array("dn" => $dn,"zoneName" => $attrs['zoneName'])); } } } + $this->handle_post_events("modify"); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: