Can i just comment out the following in "Article.pm"?
Code: Select all
# send agent notification on adding a note
elsif ( $Param{HistoryType} =~ /^AddNote$/i ) {
# send notification to owner/responsible/watcher
my @UserIDs = $Ticket{OwnerID};
if ( $Self->{ConfigObject}->Get('Ticket::Responsible') ) {
push @UserIDs, $Ticket{ResponsibleID};
}
push @UserIDs, $Self->TicketWatchGet(
TicketID => $Param{TicketID},
Notify => 1,
Result => 'ARRAY',
);
for my $UserID (@UserIDs) {
next if !$UserID;
next if $UserID == 1;
next if $UserID eq $Param{UserID};
# do not send to this user
next if $DoNotSend{$UserID};
# check if alreay sent
next if $AlreadySent{$UserID};
# remember already sent info
$AlreadySent{$UserID} = 1;
# do not send to this user (mute)
next if $DoNotSendMute{$UserID};
# send notification
$Self->SendAgentNotification(
Type => $Param{HistoryType},
RecipientID => $UserID,
CustomerMessageParams => {%Param},
TicketID => $Param{TicketID},
Queue => $Param{Queue},
UserID => $Param{UserID},
);
}
}