Fix base class of MonitoringBadgeNavigationItemRenderer

The MonitoringBadgeNavigationItemRenderer extended the SummaryNavigationItemRenderer before which does not make sense because they have nothing in common.
This commit is contained in:
Eric Lippmann 2017-07-27 09:33:44 +02:00
parent eb343009bb
commit c0d359fbbd

View File

@ -8,7 +8,7 @@ use Icinga\Authentication\Auth;
use Icinga\Data\Filter\Filter; use Icinga\Data\Filter\Filter;
use Icinga\Data\Filterable; use Icinga\Data\Filterable;
use Icinga\Module\Monitoring\Backend\MonitoringBackend; use Icinga\Module\Monitoring\Backend\MonitoringBackend;
use Icinga\Web\Navigation\Renderer\SummaryNavigationItemRenderer; use Icinga\Web\Navigation\Renderer\BadgeNavigationItemRenderer;
/** /**
* Render generic dataView columns as badges in MenuItems * Render generic dataView columns as badges in MenuItems
@ -20,7 +20,7 @@ use Icinga\Web\Navigation\Renderer\SummaryNavigationItemRenderer;
* column to fetch using the option 'column' and the dataView from which the columns * column to fetch using the option 'column' and the dataView from which the columns
* will be fetched using the option 'dataView'. * will be fetched using the option 'dataView'.
*/ */
class MonitoringBadgeNavigationItemRenderer extends SummaryNavigationItemRenderer class MonitoringBadgeNavigationItemRenderer extends BadgeNavigationItemRenderer
{ {
/** /**
* Cached count * Cached count