DataView\Comment: Do not permit `comment_author' to be queried

refs #8163
This commit is contained in:
Johannes Meyer 2015-04-09 13:08:49 +02:00
parent 5372dfb7f1
commit bc6a086ff8

View File

@ -17,7 +17,6 @@ class Comment extends DataView
'comment_objecttype', 'comment_objecttype',
'comment_internal_id', 'comment_internal_id',
'comment_data', 'comment_data',
'comment_author',
'comment_author_name', 'comment_author_name',
'comment_timestamp', 'comment_timestamp',
'comment_type', 'comment_type',
@ -62,6 +61,6 @@ class Comment extends DataView
*/ */
public function getFilterColumns() public function getFilterColumns()
{ {
return array('host', 'service', 'service_host'); return array('comment_author', 'host', 'service', 'service_host');
} }
} }