mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
Readability, small fixes
This commit is contained in:
parent
76ecc9184d
commit
d5c86c5328
@ -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')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user