Remove unimplemented list views (concat-, host-, and servicegroups)
refs #4583
This commit is contained in:
parent
41f5499bba
commit
ad84e9e9cf
|
@ -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`
|
||||
*/
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<?= $this->tabs->render($this); ?>
|
||||
|
||||
<pre>
|
||||
<?= $this->escape(print_r($this->contactgroups->fetchAll(), 1)) ?>
|
||||
</pre>
|
|
@ -1,5 +0,0 @@
|
|||
<?= $this->tabs->render($this); ?>
|
||||
|
||||
<pre>
|
||||
<?= $this->escape(print_r($this->hostgroups->fetchAll(), 1)) ?>
|
||||
</pre>
|
|
@ -1,5 +0,0 @@
|
|||
<?= $this->tabs->render($this); ?>
|
||||
|
||||
<pre>
|
||||
<?= $this->escape(print_r($this->servicegroups->fetchAll(), 1)) ?>
|
||||
</pre>
|
Loading…
Reference in New Issue