summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bff18a7)
raw | patch | inline | side by side (parent: bff18a7)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Oct 2007 12:33:28 +0000 (12:33 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Oct 2007 12:33:28 +0000 (12:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7601 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servDHCP.inc | patch | blob | history |
index d5048eea961bacb80e0c970045de34b6750af808..7f03cb687c0489dc99dc8b9324dd4ac3d26cd0b0 100644 (file)
if ($modify){
$ldap->modify($attrs);
show_ldap_error($ldap->get_error(), _("Can't save DHCP object!"));
+
+ /* Optionally execute a command after we're done */
+ $this->handle_post_events("modify");
} else {
$ldap->add($attrs);
show_ldap_error($ldap->get_error(), _("Can't save DHCP object!"));
+
+ /* Optionally execute a command after we're done */
+ $this->handle_post_events("create");
}
}
}