diff --git a/library/Icingadb/Widget/Detail/CheckStatistics.php b/library/Icingadb/Widget/Detail/CheckStatistics.php index 365f2bc66..64fef3922 100644 --- a/library/Icingadb/Widget/Detail/CheckStatistics.php +++ b/library/Icingadb/Widget/Detail/CheckStatistics.php @@ -16,7 +16,6 @@ use ipl\Web\Common\Card; use ipl\Web\Widget\EmptyState; 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; @@ -40,7 +39,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 b4249fd11..81f59dab7 100644 --- a/library/Icingadb/Widget/Detail/DowntimeCard.php +++ b/library/Icingadb/Widget/Detail/DowntimeCard.php @@ -98,9 +98,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,