DataView\Comment: Do not permit querying `host' and `service'
refs #8613
This commit is contained in:
parent
cb95f53dba
commit
480f5516d6
|
@ -22,8 +22,6 @@ class Comment extends DataView
|
|||
'comment_type',
|
||||
'comment_is_persistent',
|
||||
'comment_expiration',
|
||||
'host',
|
||||
'service',
|
||||
'host_name',
|
||||
'service_description',
|
||||
'host_display_name',
|
||||
|
@ -56,4 +54,12 @@ class Comment extends DataView
|
|||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getFilterColumns()
|
||||
{
|
||||
return array('host', 'service');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue