Code

Upated event add
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Feb 2008 15:01:04 +0000 (15:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Feb 2008 15:01:04 +0000 (15:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9217 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc

index 388d35840bb19786b23d904761a0721be47ae499..1c383ef24fb7fb96b29aa3e34082a9ca6bfb1a4f 100644 (file)
@@ -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);
index 9571b208bed97e52380b986e4cbac60ec4237ddd..0f2ce21641f9a3ff701ba61423131e88814f9d58 100644 (file)
@@ -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);