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
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ use Icinga\Authentication\Auth;
use Icinga\Data\Filter\Filter;
use Icinga\Data\Filterable;
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
@ -20,7 +20,7 @@ use Icinga\Web\Navigation\Renderer\SummaryNavigationItemRenderer;
* column to fetch using the option 'column' and the dataView from which the columns
* will be fetched using the option 'dataView'.
*/
class MonitoringBadgeNavigationItemRenderer extends SummaryNavigationItemRenderer
class MonitoringBadgeNavigationItemRenderer extends BadgeNavigationItemRenderer
{
/**
* Cached count