monitoring: Don't show ack comments in the comments area of a host or service

refs #9674
This commit is contained in:
Eric Lippmann 2015-09-03 10:52:05 +02:00
parent 96f8afa6f1
commit e5c9eb1d20
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ abstract class MonitoredObject implements Filterable
'comment' => 'comment_data', 'comment' => 'comment_data',
'type' => 'comment_type', 'type' => 'comment_type',
)) ))
->where('comment_type', array('comment', 'ack')) ->where('comment_type', array('comment'))
->where('object_type', $this->type); ->where('object_type', $this->type);
if ($this->type === self::TYPE_SERVICE) { if ($this->type === self::TYPE_SERVICE) {
$comments $comments