Code

Upadted event command for non time triggered actions.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Feb 2008 09:16:06 +0000 (09:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Feb 2008 09:16:06 +0000 (09:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9155 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_halt.inc
gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_reboot.inc
gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_reinstall.inc
gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_update.inc
gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_wakeup.inc

index 2831550bcd75ae5b85cbe049895f05e82c3c7ee5..0a55de1b2e448b773fffd3b36d7d6eb3eef26259 100644 (file)
@@ -7,7 +7,7 @@ class DaemonEvent_halt extends DaemonEvent
     $this->s_Menu_Name  = _("Shutdown");
     $this->s_Event_Name = _("Shutdown");
     $this->s_Schedule_Action = "job_trigger_action_halt";
-    $this->s_Trigger_Action= "trigger_action_halt";
+    $this->s_Trigger_Action= "gosa_trigger_action_halt";
     $this->s_Menu_Image = "images/status_stopped.png";
     $this->s_List_Image = "images/status_stopped.png";
   }
index 22c1dd39338ffb1e022fccafa77a101319243b79..152c5af379c3d82643ae91393ea288dc5e5bc9e4 100644 (file)
@@ -8,7 +8,7 @@ class DaemonEvent_reboot extends DaemonEvent
     $this->s_Menu_Name  = _("Reboot"); 
     $this->s_Event_Name = _("Reboot a system"); 
     $this->s_Schedule_Action = "job_trigger_action_reboot";
-    $this->s_Trigger_Action= "trigger_action_reboot";
+    $this->s_Trigger_Action= "gosa_trigger_action_reboot";
     $this->s_Menu_Image = "images/list_reload.png";
     $this->s_List_Image = "images/list_reload.png";
   }
index b1cf8a5e8e8ce356f0b3c18e03f7bdf8826459a8..c977c004fdb6e10358b27ca7fb36102b2fc23581 100644 (file)
@@ -11,7 +11,7 @@ class DaemonEvent_reinstall extends DaemonEvent
     $this->s_Menu_Name  = _("Reinstall");
     $this->s_Event_Name = _("Reinstall");
     $this->s_Schedule_Action = "job_trigger_action_reinstall";
-    $this->s_Trigger_Action= "trigger_action_reinstall";
+    $this->s_Trigger_Action= "gosa_trigger_action_reinstall";
     $this->s_Menu_Image = "images/fai_small.png";
     $this->s_List_Image = "images/fai_small.png";
   
index 604dabd65e37fdd251c74e57c38dfc02d9365104..47c4ecf6e91f3bf938809d807d9621a21ec1f8b1 100644 (file)
@@ -9,7 +9,7 @@ class DaemonEvent_update extends DaemonEvent
     $this->s_Menu_Name  = _("Software update");
     $this->s_Event_Name = _("software update");
     $this->s_Schedule_Action = "job_trigger_action_update";
-    $this->s_Trigger_Action= "trigger_action_update";
+    $this->s_Trigger_Action= "gosa_trigger_action_update";
     $this->s_Menu_Image = "images/time.png";
     $this->s_List_Image = "images/time.png";
   }
index 2f7da7cde56350b1a7bc538b07fd90e53915ee43..b70fa2880cf0204a172a3b23fbf92539053e6fa9 100644 (file)
@@ -8,7 +8,7 @@ class DaemonEvent_wakeup extends DaemonEvent
     $this->s_Menu_Name  = _("Wake up"); 
     $this->s_Event_Name = _("Start a system"); 
     $this->s_Schedule_Action = "job_trigger_action_wake";
-    $this->s_Trigger_Action= "trigger_action_wake";
+    $this->s_Trigger_Action= "gosa_trigger_action_wake";
     $this->s_Menu_Image = "images/status_running.png";
     $this->s_List_Image = "images/status_running.png";
   }