mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9288 from Icinga/9272
IcingaDB#SendRemovedComment(): ignore ack comments like #SendAddedComment()
This commit is contained in:
commit
cfa6f1c6a9
|
@ -2022,7 +2022,7 @@ void IcingaDB::SendAddedComment(const Comment::Ptr& comment)
|
|||
|
||||
void IcingaDB::SendRemovedComment(const Comment::Ptr& comment)
|
||||
{
|
||||
if (!GetActive()) {
|
||||
if (comment->GetEntryType() != CommentUser || !GetActive()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue