From: cajus Date: Wed, 5 Mar 2008 16:02:34 +0000 (+0000) Subject: Install and Updated are jobs... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4adcd809d13a4c11597bfb0cb6467cbec86582de;p=gosa.git Install and Updated are jobs... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9363 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 2398f1aa9..0b362262b 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -176,7 +176,7 @@ class workgeneric extends plugin $evt = $events['TRIGGERED']["DaemonEvent_".$action]; $tmp = new $evt['CLASS_NAME']($this->config); $tmp->add_targets(array($this->netConfigDNS->macAddress)); - $tmp->set_type(TRIGGERED_EVENT); + $tmp->set_type(($action == "reinstall" || $action == "update")?SCHEDULED_EVENT:TRIGGERED_EVENT); $o_queue = new gosaSupportDaemon(); if(!$o_queue->append($tmp)){ msg_dialog::display(_("Daemon"),sprintf(_("Something went wrong while talking to the daemon: %s."),