monitoring: Don't show ack comments in the comments area of a host or service
refs #9674
This commit is contained in:
parent
96f8afa6f1
commit
e5c9eb1d20
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue