~bestpractical/rt/master

« back to all changes in this revision

Viewing changes to lib/RT/Action/Notify.pm

  • Committer: sunnavy
  • Date: 2023-10-19 19:45:11 UTC
  • mfrom: (8471.1.577)
  • Revision ID: git-v1:9fca83d11d15fb8034308194b9c9052d5df7d454
Merge branch '5.0-trunk'

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
 
222
222
=cut
223
223
 
 
224
our $ALWAYS_NOTIFY_ACTOR = 0;
 
225
 
224
226
sub RemoveInappropriateRecipients {
225
227
    my $self = shift;
226
228
 
238
240
        },
239
241
    ) if $args{NeverNotifyActor} ||
240
242
         (!RT->Config->Get('NotifyActor',$TransactionCurrentUser)
241
 
         && !$args{AlwaysNotifyActor});
 
243
         && !$args{AlwaysNotifyActor}) && !$ALWAYS_NOTIFY_ACTOR;
242
244
 
243
245
    $self->SUPER::RemoveInappropriateRecipients();
244
246
}