Readability, small fixes

This commit is contained in:
Thomas Gelf 2013-08-20 23:47:56 +02:00 committed by Eric Lippmann
parent 76ecc9184d
commit d5c86c5328

View File

@ -219,21 +219,6 @@ class StatusQuery extends AbstractQuery
), ),
); );
public function group($col)
{
$this->baseQuery->group($col);
}
protected function getDefaultColumns()
{
return $this->columnMap['hosts'];
/*
+ $this->columnMap['services']
+ $this->columnMap['hoststatus']
+ $this->columnMap['servicestatus']
;*/
}
protected function joinBaseTables() protected function joinBaseTables()
{ {
// TODO: Shall we always add hostobject? // TODO: Shall we always add hostobject?
@ -282,7 +267,6 @@ class StatusQuery extends AbstractQuery
); );
} }
// TODO: Test this one, doesn't seem to work right now
protected function joinHostgroups() protected function joinHostgroups()
{ {
if ($this->hasJoinedVirtualTable('services')) { if ($this->hasJoinedVirtualTable('services')) {