From f23bf912eb089c97ac9e204406450e08260fda3e Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 12 Aug 2014 09:49:52 +0200 Subject: [PATCH] Remove obsolete use statements --- .../application/controllers/ChartController.php | 9 +-------- .../application/controllers/MultiController.php | 3 --- 2 files changed, 1 insertion(+), 11 deletions(-) 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;