Senph::Model::MailQueue
sub create_notify_new_comment { my ( $self, $args ) = @_; my $comment = $args->{comment}; my $topic_ident = $args->{topic}->url; if ($self->cache->{$topic_ident}) { $log->debugf("Ignoring notify_new_comment on %s because we just sent one...", $topic_ident); return; } ... $self->cache->{$topic_ident} = 1; }