DataView\EventHistory: Do not permit `host' and `service' to be queried
refs #8613
This commit is contained in:
parent
b7e1c2d518
commit
ec67c28629
|
@ -28,9 +28,7 @@ class EventHistory extends DataView
|
|||
'attempt',
|
||||
'max_attempts',
|
||||
'output',
|
||||
'type',
|
||||
'host',
|
||||
'service'
|
||||
'type'
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -46,8 +44,6 @@ class EventHistory extends DataView
|
|||
|
||||
public function getFilterColumns()
|
||||
{
|
||||
return array(
|
||||
'hostgroups'
|
||||
);
|
||||
return array('host', 'service', 'hostgroup');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue