monitoring/ShowController: remove obsolete function

This commit is contained in:
Thomas Gelf 2014-06-20 14:21:29 +02:00
parent a8bde7cc14
commit f80b951cec
1 changed files with 0 additions and 33 deletions

View File

@ -116,39 +116,6 @@ class Monitoring_ShowController extends Controller
));
}
/**
* History entries for objects
*/
/* public function historyAction()
{
$this->view->history = $this->backend->select()
->from(
'eventHistory',
array(
'object_type',
'host_name',
'service_description',
'timestamp',
'state',
'attempt',
'max_attempts',
'output',
'type'
)
)->applyRequest($this->_request);
$this->view->preserve = $this->view->history->getAppliedFilter()->toParams();
if ($this->_getParam('dump') === 'sql') {
echo '<pre>' . htmlspecialchars($this->view->history->getQuery()->dump()) . '</pre>';
exit;
}
if ($this->_getParam('sort')) {
$this->view->preserve['sort'] = $this->_getParam('sort');
}
$this->view->preserve = $this->view->history->getAppliedFilter()->toParams();
}*/
/**
* Creating tabs for this controller
* @return Tabs