monitoring: Remove ServicegroupQuery::getGroup()

refs #9956
This commit is contained in:
Eric Lippmann 2015-09-29 22:54:08 +02:00
parent d18d606ad6
commit e22dd1d0b4
1 changed files with 10 additions and 13 deletions

View File

@ -10,6 +10,16 @@ class ServicegroupQuery extends IdoQuery
*/
protected $allowCustomVars = true;
/**
* {@inheritdoc}
*/
protected $groupBase = array('servicegroups' => array('sg.servicegroup_id', 'sgo.object_id'));
/**
* {@inheritdoc}
*/
protected $groupOrigin = array('serviceobjects');
/**
* {@inheritdoc}
*/
@ -132,17 +142,4 @@ class ServicegroupQuery extends IdoQuery
array()
);
}
/**
* {@inheritdoc}
*/
public function getGroup()
{
$group = array();
if ($this->hasJoinedVirtualTable('serviceobjects')) {
$group = array('sg.servicegroup_id', 'sgo.object_id');
}
return $group;
}
}