DataView\Comment: Do not permit querying `host' and `service'

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-09 12:53:28 +02:00
parent cb95f53dba
commit 480f5516d6
1 changed files with 8 additions and 2 deletions

View File

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