From: cajus Date: Wed, 5 Mar 2008 16:08:28 +0000 (+0000) Subject: Added workaround for install/update X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d2f55b17a5dd86042cb8ab6c7cd981100354d3f3;p=gosa.git Added workaround for install/update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9365 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index e5d66afcc..944055fc0 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -543,6 +543,7 @@ class systems extends plugin */ if(isset($_POST['save_event_dialog']) || $this->systab->get_type() == TRIGGERED_EVENT){ $o_queue = new gosaSupportDaemon(); + $this->systab->set_type(($s_action == "trigger_event_DaemonEvent_reinstall" || $s_action == "trigger_event_DaemonEvent_update")?SCHEDULED_EVENT:TRIGGERED_EVENT); $o_queue->append($this->systab); if($o_queue->is_error()){ msg_dialog::display(_("Daemon"),sprintf(_("Something went wrong while talking to the daemon: %s."),