From 7d212658bce4f51df8f74002b171af7f7467f824 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 5 Sep 2014 09:17:54 +0200 Subject: [PATCH] Fix "Use statement with non compound name..." in TimelineController --- .../application/controllers/TimelineController.php | 7 +++---- .../monitoring/library/Monitoring/Timeline/TimeLine.php | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/monitoring/application/controllers/TimelineController.php b/modules/monitoring/application/controllers/TimelineController.php index 2f9b1339d..a950c92f7 100644 --- a/modules/monitoring/application/controllers/TimelineController.php +++ b/modules/monitoring/application/controllers/TimelineController.php @@ -2,9 +2,9 @@ // {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}} -use DateTime; -use DateInterval; -use Zend_Config; +use \DateTime; +use \DateInterval; +use \Zend_Config; use Icinga\Web\Url; use Icinga\Util\Format; use Icinga\Application\Config; @@ -13,7 +13,6 @@ use Icinga\Module\Monitoring\Controller; use Icinga\Module\Monitoring\Timeline\TimeLine; use Icinga\Module\Monitoring\Timeline\TimeRange; use Icinga\Module\Monitoring\Web\Widget\TimelineIntervalBox; -use Icinga\Module\Monitoring\DataView\EventHistory as EventHistoryView; class Monitoring_TimelineController extends Controller { diff --git a/modules/monitoring/library/Monitoring/Timeline/TimeLine.php b/modules/monitoring/library/Monitoring/Timeline/TimeLine.php index be3820e19..3a795df32 100644 --- a/modules/monitoring/library/Monitoring/Timeline/TimeLine.php +++ b/modules/monitoring/library/Monitoring/Timeline/TimeLine.php @@ -11,7 +11,6 @@ use Icinga\Exception\IcingaException; use IteratorAggregate; use Icinga\Data\Filter\Filter; use Icinga\Web\Hook; -use Icinga\Web\Session; use Icinga\Web\Session\SessionNamespace; use Icinga\Module\Monitoring\DataView\DataView;