diff --git a/modules/monitoring/library/Monitoring/DataView/Servicecomment.php b/modules/monitoring/library/Monitoring/DataView/Servicecomment.php index b3d11ad49..61ca61089 100644 --- a/modules/monitoring/library/Monitoring/DataView/Servicecomment.php +++ b/modules/monitoring/library/Monitoring/DataView/Servicecomment.php @@ -34,7 +34,7 @@ class Servicecomment extends DataView /** * {@inheritdoc} */ - public function getFilterColumns() + public function getStaticFilterColumns() { return array( 'host', 'host_alias', @@ -43,17 +43,4 @@ class Servicecomment extends DataView 'servicegroup', 'servicegroup_alias', 'servicegroup_name' ); } - - /** - * {@inheritdoc} - */ - public function isValidFilterTarget($column) - { - if ($column[0] === '_' - && preg_match('/^_(?:host|service)_/', $column) - ) { - return true; - } - return parent::isValidFilterTarget($column); - } }