From 4dd9e1a31fa1fda332e5c5230fb4b2b4ce33a145 Mon Sep 17 00:00:00 2001 From: Lionel Assepo Date: Thu, 17 Sep 2015 10:37:18 +0200 Subject: [PATCH] * refs #564 --- .../status/ServicesServiceGroups/serviceGridBySG.php | 5 ++--- .../status/ServicesServiceGroups/serviceSummaryBySG.php | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/www/include/monitoring/status/ServicesServiceGroups/serviceGridBySG.php b/www/include/monitoring/status/ServicesServiceGroups/serviceGridBySG.php index 21ac080376d..1716da196b2 100644 --- a/www/include/monitoring/status/ServicesServiceGroups/serviceGridBySG.php +++ b/www/include/monitoring/status/ServicesServiceGroups/serviceGridBySG.php @@ -77,7 +77,7 @@ $tpl->assign("mon_last_check", _("Last Check")); $tpl->assign("mon_duration", _("Duration")); $tpl->assign('search', _('Host')); - $tpl->assign('sgStr', _('Servicegroup')); + $tpl->assign('sgStr', _('Servicegroup')); $tpl->assign('pollerStr', _('Poller')); $tpl->assign('poller_listing', $oreon->user->access->checkAction('poller_listing')); $tpl->assign("mon_status_information", _("Status information")); @@ -87,10 +87,9 @@ */ $query = "SELECT DISTINCT sg.sg_name FROM servicegroup sg"; $DBRESULT = $pearDB->query($query); - $sgSearchSelect = ''; while ($row = $DBRESULT->fetchRow()) { $sgSearchSelect .= ''; - //$serviceGroups[] = $row['sg_name']; } $DBRESULT->free(); $sgSearchSelect .= ''; diff --git a/www/include/monitoring/status/ServicesServiceGroups/serviceSummaryBySG.php b/www/include/monitoring/status/ServicesServiceGroups/serviceSummaryBySG.php index 82de03fc214..baff2135840 100644 --- a/www/include/monitoring/status/ServicesServiceGroups/serviceSummaryBySG.php +++ b/www/include/monitoring/status/ServicesServiceGroups/serviceSummaryBySG.php @@ -95,10 +95,9 @@ */ $query = "SELECT DISTINCT sg.sg_name FROM servicegroup sg"; $DBRESULT = $pearDB->query($query); - $sgSearchSelect = ''; while ($row = $DBRESULT->fetchRow()) { $sgSearchSelect .= ''; - //$serviceGroups[] = $row['sg_name']; } $DBRESULT->free(); $sgSearchSelect .= '';