monitoring: Remove HostgroupQuery::getGroup()

refs #9956
This commit is contained in:
Eric Lippmann 2015-09-29 22:50:12 +02:00
parent 844f80d2df
commit 6519b25ec1
1 changed files with 10 additions and 13 deletions

View File

@ -13,6 +13,16 @@ class HostgroupQuery extends IdoQuery
*/
protected $allowCustomVars = true;
/**
* {@inheritdoc}
*/
protected $groupBase = array('hostgroups' => array('hg.hostgroup_id', 'hgo.object_id'));
/**
* {@inheritdoc}
*/
protected $groupOrigin = array('hostobjects');
/**
* {@inheritdoc}
*/
@ -140,17 +150,4 @@ class HostgroupQuery extends IdoQuery
array()
);
}
/**
* {@inheritdoc}
*/
public function getGroup()
{
$group = array();
if ($this->hasJoinedVirtualTable('hostobjects')) {
$group = array('hg.hostgroup_id', 'hgo.object_id');
}
return $group;
}
}