edit branch no longer sends out notifications
This commit is contained in:
parent
a778dd3bbe
commit
eafa4b407a
1 changed files with 3 additions and 1 deletions
|
|
@ -142,7 +142,9 @@ sub chopTitle {
|
||||||
sub commit {
|
sub commit {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
$self->SUPER::commit;
|
$self->SUPER::commit;
|
||||||
$self->notifySubscribers;
|
|
||||||
|
$self->notifySubscribers unless ($self->get("skipNotification"));
|
||||||
|
|
||||||
if ($self->isNew) {
|
if ($self->isNew) {
|
||||||
if ($self->session->setting->get("useKarma") && $self->getThread->getParent->get("karmaPerPost")) {
|
if ($self->session->setting->get("useKarma") && $self->getThread->getParent->get("karmaPerPost")) {
|
||||||
my $u = WebGUI::User->new($self->session, $self->get("ownerUserId"));
|
my $u = WebGUI::User->new($self->session, $self->get("ownerUserId"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue