diff --git a/modules/monitoring/application/controllers/ChartController.php b/modules/monitoring/application/controllers/ChartController.php index 4ccc30510..4fee6e34f 100644 --- a/modules/monitoring/application/controllers/ChartController.php +++ b/modules/monitoring/application/controllers/ChartController.php @@ -2,15 +2,8 @@ // {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}} -use Icinga\Application\Icinga; -use Icinga\Application\Config; -use Icinga\Logger\Logger; -use Icinga\Web\Form; use Icinga\Module\Monitoring\Controller; -use Icinga\Chart\SVGRenderer; use Icinga\Chart\GridChart; -use Icinga\Chart\Palette; -use Icinga\Chart\Axis; use Icinga\Chart\PieChart; use Icinga\Chart\Unit\StaticAxis; @@ -140,7 +133,7 @@ class Monitoring_ChartController extends Controller } $this->view->chart = new GridChart(); $this->view->chart->setAxisLabel('', t('Services')) - ->setXAxis(new \Icinga\Chart\Unit\StaticAxis()); + ->setXAxis(new StaticAxis()); $this->view->chart->drawBars( array( diff --git a/modules/monitoring/application/controllers/MultiController.php b/modules/monitoring/application/controllers/MultiController.php index a623dd88b..37ea0e061 100644 --- a/modules/monitoring/application/controllers/MultiController.php +++ b/modules/monitoring/application/controllers/MultiController.php @@ -2,10 +2,7 @@ // {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}} -use Icinga\Web\Form; use Icinga\Module\Monitoring\Controller; -use Icinga\Module\Monitoring\Backend; -use Icinga\Data\SimpleQuery; use Icinga\Web\Widget\Chart\InlinePie; use Icinga\Module\Monitoring\Form\Command\MultiCommandFlagForm; use Icinga\Web\Widget;