From 72f905cfc4475380c2f28b7fd673ab8d8a733a02 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 31 Aug 2023 16:32:05 +0200 Subject: [PATCH] Remove not in use code --- library/Icingadb/Widget/Detail/CheckStatistics.php | 2 -- library/Icingadb/Widget/Detail/DowntimeCard.php | 3 --- 2 files changed, 5 deletions(-) diff --git a/library/Icingadb/Widget/Detail/CheckStatistics.php b/library/Icingadb/Widget/Detail/CheckStatistics.php index 145681aeb..5c462cc1d 100644 --- a/library/Icingadb/Widget/Detail/CheckStatistics.php +++ b/library/Icingadb/Widget/Detail/CheckStatistics.php @@ -17,7 +17,6 @@ use ipl\Html\Text; use ipl\Web\Common\Card; use ipl\Web\Compat\StyleWithNonce; -use ipl\Web\Widget\StateBall; use ipl\Web\Widget\TimeAgo; use ipl\Web\Widget\TimeSince; use ipl\Web\Widget\TimeUntil; @@ -41,7 +40,6 @@ class CheckStatistics extends Card SVG; - protected $object; protected $tag = 'div'; diff --git a/library/Icingadb/Widget/Detail/DowntimeCard.php b/library/Icingadb/Widget/Detail/DowntimeCard.php index 3983b640f..89849fc81 100644 --- a/library/Icingadb/Widget/Detail/DowntimeCard.php +++ b/library/Icingadb/Widget/Detail/DowntimeCard.php @@ -100,9 +100,6 @@ protected function assemble() ->addFor($markerFlexStart, ['left' => sprintf('%F%%', $flexStartLeft)]) ->addFor($markerFlexEnd, ['left' => sprintf('%F%%', $flexEndLeft)]); - $markerStart->getAttributes()->remove('class', 'highlighted'); // TODO: class was never set?? - $markerEnd->getAttributes()->remove('class', 'highlighted'); - $scheduledEndBubble = new HtmlElement( 'li', null,