From: hickert Date: Fri, 29 Feb 2008 15:01:04 +0000 (+0000) Subject: Upated event add X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cda3d0f1834d21a363649eb88fe86a42fc835634;p=gosa.git Upated event add git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9217 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc index 388d35840..1c383ef24 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc @@ -457,7 +457,7 @@ class termstartup extends plugin $evt = $events['BY_CLASS']['DaemonEvent_reload_ldap_config']; $tmp = new $evt['CLASS_NAME']($this->config); $tmp->set_type(TRIGGERED_EVENT); - $tmp->add_targets(array($this->netConfigDNS->macAddress)); + $tmp->add_targets(array($this->parent->by_object['termgeneric']->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); diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index 9571b208b..0f2ce2164 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -909,7 +909,7 @@ class workstartup extends plugin $evt = $events['BY_CLASS']['DaemonEvent_reload_ldap_config']; $tmp = new $evt['CLASS_NAME']($this->config); $tmp->set_type(TRIGGERED_EVENT); - $tmp->add_targets(array($this->netConfigDNS->macAddress)); + $tmp->add_targets(array($this->parent->by_object['workgeneric']->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);