diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_goto_reload.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_goto_reload.inc
index 00e431dc10583553086bb26dff315f10da757ae2..110b023f7857650d1a0baea15473c45f127d2b06 100644 (file)
class DaemonEvent_goto_reload extends DaemonEvent
{
- var $visible_for = SYSTEM_EVENT;
+ var $visible_for = HIDDEN_EVENT;
+ var $mac = array();
+ protected $attributes = array("mac");
+
+ public function set_macs($macs)
+ {
+ $this->mac = $macs;
+ }
+
public function __construct($config,$data = array())
{
DaemonEvent::__construct($config,$data);
- $this->s_Menu_Name = _("Goto reload");
- $this->s_Event_Name = _("Reload goto settings");
+ $this->s_Menu_Name = _("GOto reload");
+ $this->s_Event_Name = _("Reload GOto settings");
$this->s_Schedule_Action= "job_trigger_goto_settings_reload";
$this->s_Trigger_Action = "gosa_trigger_goto_settings_reload";
- $this->s_Queued_Action = "trigger_action_wake";
+ $this->s_Queued_Action = "trigger_action_goto_settings_reload";
$this->s_Menu_Image = "images/lists/reload.png";
$this->s_List_Image = "images/lists/reload.png";
}