diff --git a/application/controllers/ServicegroupController.php b/application/controllers/ServicegroupController.php index d316887e..1b21c06b 100644 --- a/application/controllers/ServicegroupController.php +++ b/application/controllers/ServicegroupController.php @@ -5,7 +5,7 @@ namespace Icinga\Module\Icingadb\Controllers; use Icinga\Data\Filter\FilterExpression; use Icinga\Exception\NotFoundError; use Icinga\Module\Icingadb\Model\Service; -use Icinga\Module\Icingadb\Model\Servicegroupsummary; +use Icinga\Module\Icingadb\Model\ServicegroupSummary; use Icinga\Module\Icingadb\Web\Controller; use Icinga\Module\Icingadb\Widget\ServiceList; use Icinga\Module\Icingadb\Widget\ItemList\ServicegroupList; @@ -13,7 +13,7 @@ use ipl\Orm\Compat\FilterProcessor; class ServicegroupController extends Controller { - /** @var Servicegroupsummary The service group object */ + /** @var ServicegroupSummary The service group object */ protected $servicegroup; public function init() @@ -22,7 +22,7 @@ class ServicegroupController extends Controller $name = $this->params->shiftRequired('name'); - $query = Servicegroupsummary::on($this->getDb()); + $query = ServicegroupSummary::on($this->getDb()); FilterProcessor::apply( new FilterExpression('servicegroup.name', '=', $name), diff --git a/application/controllers/ServicegroupsController.php b/application/controllers/ServicegroupsController.php index 193647b9..ace29614 100644 --- a/application/controllers/ServicegroupsController.php +++ b/application/controllers/ServicegroupsController.php @@ -2,7 +2,7 @@ namespace Icinga\Module\Icingadb\Controllers; -use Icinga\Module\Icingadb\Model\Servicegroupsummary; +use Icinga\Module\Icingadb\Model\ServicegroupSummary; use Icinga\Module\Icingadb\Web\Controller; use Icinga\Module\Icingadb\Widget\ItemList\ServicegroupList; @@ -14,7 +14,7 @@ class ServicegroupsController extends Controller $db = $this->getDb(); - $servicegroups = Servicegroupsummary::on($db); + $servicegroups = ServicegroupSummary::on($db); $limitControl = $this->createLimitControl(); $paginationControl = $this->createPaginationControl($servicegroups);