From 7fb75362cac5f0d29d1782dd61a5715daef32059 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 5 Mar 2008 16:03:24 +0000 Subject: [PATCH] Update and reinstall are jobs... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9364 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_servGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc index 716e6a0ce..4f4e3dfc2 100644 --- a/gosa-plugins/systems/admin/systems/class_servGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_servGeneric.inc @@ -123,7 +123,7 @@ class servgeneric 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."), -- 2.30.2