summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b02001b)
raw | patch | inline | side by side (parent: b02001b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 14:52:07 +0000 (14:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 14:52:07 +0000 (14:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9215 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_servGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index 0aeda21aedb962922d2eeaa8a035b86812f8570e..8a2597b06a5eb35b816b274f59146781fe409395 100644 (file)
}
if ($activate){
- gosaSupportDaemon::send("gosa_set_activated_for_installation", $this->netConfigDNS->ipHostNumber);
+
+ /* Send installation activation
+ */
+ $events = DaemonEvent::get_event_types();
+ $o_queue = new gosaSupportDaemon();
+ if(isset($events['BY_CLASS']['DaemonEvent_installation_activation'])){
+ $evt = $events['BY_CLASS']['DaemonEvent_installation_activation'];
+ $tmp = new $evt['CLASS_NAME']($this->config);
+ $tmp->set_type(TRIGGERED_EVENT);
+ $tmp->add_targets(array($this->netConfigDNS->macAddress));
+ if(!$o_queue->append($tmp)){
+ msg_dialog::display(_("Daemon"),sprintf(_("Something went wrong while talking to the daemon: %s."),
+ $o_queue->get_error()),ERROR_DIALOG);
+ }
+ }
}
}