summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a6a428)
raw | patch | inline | side by side (parent: 7a6a428)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 May 2007 07:42:51 +0000 (07:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 May 2007 07:42:51 +0000 (07:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6409 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_componentGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_componentGeneric.inc b/plugins/admin/systems/class_componentGeneric.inc
index be0a560125f0c3640cc1686b7b5b4c76c3b2b43c..22d218511eb64d3c5dc4a4faca52681d058779b0 100644 (file)
@log::log("remove","component/".get_class($this),$this->dn,$this->attributes,$ldap->get_error());
show_ldap_error($ldap->get_error(), sprintf(_("Removing of system component/generic with dn '%s' failed."),$this->dn));
- $this->handle_post_events("remove");
+ $this->handle_post_events(array("macAddress" => $this->netConfigDNS->macAddress,"ipHostNumber" => $this->netConfigDNS->ipHostNumber));
/* Delete references to object groups */
$ldap->cd ($this->config->current['BASE']);
$ldap->cd($this->dn);
$ldap->add($this->attrs);
@log::log("create","component/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
- $this->handle_post_events("add");
+ $this->handle_post_events("add",array("macAddress" => $this->netConfigDNS->macAddress,"ipHostNumber" => $this->netConfigDNS->ipHostNumber));
} else {
if ($this->orig_dn != $this->dn){
$this->cleanup();
$ldap->modify ($this->attrs);
@log::log("modify","component/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
- $this->handle_post_events("modify");
+ $this->handle_post_events("modify",array("macAddress" => $this->netConfigDNS->macAddress,"ipHostNumber" => $this->netConfigDNS->ipHostNumber));
}
$this->netConfigDNS->cn = $this->cn;
$this->netConfigDNS->save($this->dn);
show_ldap_error($ldap->get_error(), sprintf(_("Saving of system component/generic with dn '%s' failed."),$this->dn));
-
- /* Optionally execute a command after we're done */
- $this->postcreate();
}
/* Return plugin informations for acl handling */