From 37c7614dc174aac76d6d8e28b9796b089b660a61 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 15 Apr 2008 09:15:29 +0000 Subject: [PATCH] Added 2 new si events -events/class_DaemonEvent_recreate_fai_server_db.inc -events/class_DaemonEvent_recreate_fai_release_db.inc git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10448 594d385d-05f5-0310-b6e9-bd551577e9d8 --- ...ss_DaemonEvent_recreate_fai_release_db.inc | 51 +++++++++++++++++++ ...ass_DaemonEvent_recreate_fai_server_db.inc | 51 +++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 gosa-plugins/goto/addons/goto/events/class_DaemonEvent_recreate_fai_release_db.inc create mode 100644 gosa-plugins/goto/addons/goto/events/class_DaemonEvent_recreate_fai_server_db.inc diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_recreate_fai_release_db.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_recreate_fai_release_db.inc new file mode 100644 index 000000000..f882842f6 --- /dev/null +++ b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_recreate_fai_release_db.inc @@ -0,0 +1,51 @@ +s_Menu_Name = _("Reload fai release db"); + $this->s_Event_Name = _("Reload fai release db"); + $this->s_Schedule_Action= "gosa_recreate_fai_release_db"; + $this->s_Trigger_Action = "gosa_recreate_fai_release_db"; + $this->s_Queued_Action = "recreate_fai_release_db"; + $this->s_Menu_Image = "images/edit.png"; + $this->s_List_Image = "images/edit.png"; + } + + public function execute() + { + DaemonEvent::execute(); + return("Cannot be displayed"); + } + + public function save_object() + { + DaemonEvent::save_object(); + } +} +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_recreate_fai_server_db.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_recreate_fai_server_db.inc new file mode 100644 index 000000000..647d9af0a --- /dev/null +++ b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_recreate_fai_server_db.inc @@ -0,0 +1,51 @@ +s_Menu_Name = _("Reload fai server db"); + $this->s_Event_Name = _("Reload fai server db"); + $this->s_Schedule_Action= "gosa_recreate_fai_server_db"; + $this->s_Trigger_Action = "gosa_recreate_fai_server_db"; + $this->s_Queued_Action = "recreate_fai_release_db"; + $this->s_Menu_Image = "images/edit.png"; + $this->s_List_Image = "images/edit.png"; + } + + public function execute() + { + DaemonEvent::execute(); + return("Cannot be displayed"); + } + + public function save_object() + { + DaemonEvent::save_object(); + } +} +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> -- 2.30.2