Code

Added workaround for install/update
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Mar 2008 16:08:28 +0000 (16:08 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Mar 2008 16:08:28 +0000 (16:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9365 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index e5d66afcc17849ebad7e1ac8affb9f53a8291da9..944055fc07aface0a677a1dd61f0855c118cff5f 100644 (file)
@@ -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."),