DataView\EventHistory: Do not permit `host' and `service' to be queried

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-09 14:41:10 +02:00
parent b7e1c2d518
commit ec67c28629
1 changed files with 2 additions and 6 deletions

View File

@ -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');
}
}