ServicegroupQuery: Rename baseQuery to select

This commit is contained in:
Eric Lippmann 2014-04-15 18:10:30 +02:00
parent ac5edc153a
commit a30d1cdb2f
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class ServicegroupQuery extends IdoQuery
protected function joinBaseTables() protected function joinBaseTables()
{ {
$this->baseQuery = $this->db->select()->from( $this->select->from(
array('sg' => $this->prefix . 'servicegroups'), array('sg' => $this->prefix . 'servicegroups'),
array() array()
)->join( )->join(
@ -35,7 +35,7 @@ class ServicegroupQuery extends IdoQuery
protected function joinServices() protected function joinServices()
{ {
$this->baseQuery->join( $this->select->join(
array('sgm' => $this->prefix . 'servicegroup_members'), array('sgm' => $this->prefix . 'servicegroup_members'),
'sgm.' . $this->servicegroup_id . ' = sg.' . $this->servicegroup_id, 'sgm.' . $this->servicegroup_id . ' = sg.' . $this->servicegroup_id,
array() array()