mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
f1bb064020
commit
bb97269c55
@ -90,13 +90,13 @@ class HostList extends ObjectList
|
||||
/**
|
||||
* Get the scheduled downtimes
|
||||
*
|
||||
* @return type
|
||||
* @return \Icinga\Module\Monitoring\DataView\Hostdowntime
|
||||
*/
|
||||
public function getScheduledDowntimes()
|
||||
{
|
||||
return $this->backend->select()
|
||||
->from('downtime')
|
||||
->applyFilter(clone $this->filter)
|
||||
->where('downtime_objecttype', 'host');
|
||||
return $this->backend
|
||||
->select()
|
||||
->from('hostdowntime', array('host_name'))
|
||||
->applyFilter(clone $this->filter);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user