monitoring: Remove deprecated actions from the ShowController
Removed: * show/service * show/host * show/history
This commit is contained in:
parent
3c9e67eb46
commit
411ad407b1
|
@ -19,34 +19,6 @@ class ShowController extends Controller
|
|||
*/
|
||||
protected $backend;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
public function serviceAction()
|
||||
{
|
||||
$this->redirectNow(Url::fromRequest()->setPath('monitoring/service/show'));
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
public function hostAction()
|
||||
{
|
||||
$this->redirectNow(Url::fromRequest()->setPath('monitoring/host/show'));
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
public function historyAction()
|
||||
{
|
||||
if ($this->params->has('service')) {
|
||||
$this->redirectNow(Url::fromRequest()->setPath('monitoring/service/history'));
|
||||
}
|
||||
|
||||
$this->redirectNow(Url::fromRequest()->setPath('monitoring/host/history'));
|
||||
}
|
||||
|
||||
public function contactAction()
|
||||
{
|
||||
$contactName = $this->params->getRequired('contact_name');
|
||||
|
|
Loading…
Reference in New Issue