From ad84e9e9cff07f4702b2cec4c9cb7da37320ad57 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 20 Aug 2013 12:08:37 +0200 Subject: [PATCH] Remove unimplemented list views (concat-, host-, and servicegroups) refs #4583 --- .../controllers/ListController.php | 40 ------------------- .../views/scripts/list/contactgroups.phtml | 5 --- .../views/scripts/list/hostgroups.phtml | 5 --- .../views/scripts/list/servicegroups.phtml | 5 --- 4 files changed, 55 deletions(-) delete mode 100644 modules/monitoring/application/views/scripts/list/contactgroups.phtml delete mode 100644 modules/monitoring/application/views/scripts/list/hostgroups.phtml delete mode 100644 modules/monitoring/application/views/scripts/list/servicegroups.phtml diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php index 7fae45c71..045e4a9bb 100644 --- a/modules/monitoring/application/controllers/ListController.php +++ b/modules/monitoring/application/controllers/ListController.php @@ -141,46 +141,6 @@ class Monitoring_ListController extends ModuleActionController $this->inheritCurrentSortColumn(); } - /** - * Display hostgroup list - * - * @TODO Implement hostgroup overview (feature #4184) - */ - public function hostgroupsAction() - { - $this->view->hostgroups = $this->backend->select() - ->from('hostgroup', array( - 'hostgroup_name', - 'hostgroup_alias', - ))->applyRequest($this->_request); - } - - /** - * Display servicegroup list - * - * @TODO Implement servicegroup overview (feature #4185) - */ - public function servicegroupsAction() - { - $this->view->servicegroups = $this->backend->select() - ->from('servicegroup', array( - 'servicegroup_name', - 'servicegroup_alias', - ))->applyRequest($this->_request); - } - - /** - * Display contactgroups overview - */ - public function contactgroupsAction() - { - $this->view->contactgroups = $this->backend->select() - ->from('contactgroup', array( - 'contactgroup_name', - 'contactgroup_alias', - ))->applyRequest($this->_request); - } - /** * Fetch the current downtimes and put them into the view property `downtimes` */ diff --git a/modules/monitoring/application/views/scripts/list/contactgroups.phtml b/modules/monitoring/application/views/scripts/list/contactgroups.phtml deleted file mode 100644 index 77bef0553..000000000 --- a/modules/monitoring/application/views/scripts/list/contactgroups.phtml +++ /dev/null @@ -1,5 +0,0 @@ -tabs->render($this); ?> - -
-escape(print_r($this->contactgroups->fetchAll(), 1)) ?>
-
diff --git a/modules/monitoring/application/views/scripts/list/hostgroups.phtml b/modules/monitoring/application/views/scripts/list/hostgroups.phtml deleted file mode 100644 index 2e0d41284..000000000 --- a/modules/monitoring/application/views/scripts/list/hostgroups.phtml +++ /dev/null @@ -1,5 +0,0 @@ -tabs->render($this); ?> - -
-escape(print_r($this->hostgroups->fetchAll(), 1)) ?>
-
diff --git a/modules/monitoring/application/views/scripts/list/servicegroups.phtml b/modules/monitoring/application/views/scripts/list/servicegroups.phtml deleted file mode 100644 index 952e5dd9d..000000000 --- a/modules/monitoring/application/views/scripts/list/servicegroups.phtml +++ /dev/null @@ -1,5 +0,0 @@ -tabs->render($this); ?> - -
-escape(print_r($this->servicegroups->fetchAll(), 1)) ?>
-