monitoring/MultiController: use correct controller

This commit is contained in:
Thomas Gelf 2014-06-20 13:35:25 +02:00
parent 68a90b8de8
commit 255accb215
1 changed files with 2 additions and 19 deletions

View File

@ -28,7 +28,7 @@
// {{{ICINGA_LICENSE_HEADER}}}
use \Icinga\Web\Form;
use \Icinga\Web\Controller\ActionController;
use Icinga\Module\Monitoring\Controller;
use \Icinga\Web\Widget\Tabextension\OutputFormat;
use \Icinga\Module\Monitoring\Backend;
use \Icinga\Data\SimpleQuery;
@ -41,14 +41,8 @@ use \Icinga\Module\Monitoring\DataView\Comment as CommentView;
/**
* Displays aggregations collections of multiple objects.
*/
class Monitoring_MultiController extends ActionController
class Monitoring_MultiController extends Controller
{
public function init()
{
$this->backend = Backend::createBackend($this->_getParam('backend'));
$this->createTabs();
}
public function hostAction()
{
$multiFilter = $this->getAllParamsAsArray();
@ -373,15 +367,4 @@ class Monitoring_MultiController extends ActionController
}
return $queries;
}
/**
* Return all tabs for this controller
*
* @return Tabs
*/
private function createTabs()
{
$tabs = $this->getTabs();
$tabs->extend(new OutputFormat());
}
}