edit branch no longer sends out notifications

This commit is contained in:
Frank Dillon 2007-02-02 21:23:34 +00:00
parent a778dd3bbe
commit eafa4b407a

View file

@ -142,7 +142,9 @@ sub chopTitle {
sub commit {
my $self = shift;
$self->SUPER::commit;
$self->notifySubscribers;
$self->notifySubscribers unless ($self->get("skipNotification"));
if ($self->isNew) {
if ($self->session->setting->get("useKarma") && $self->getThread->getParent->get("karmaPerPost")) {
my $u = WebGUI::User->new($self->session, $self->get("ownerUserId"));