diff options
author | Mark Wells <mark@freeside.biz> | 2012-12-28 18:18:37 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-12-28 18:18:37 -0800 |
commit | 2d8d1b6665db8f3a676147e190fea28a71c84598 (patch) | |
tree | d2d3fae58635f4a5c006158f8c5454ff606438e1 | |
parent | f7fc1e6f602745565c89b82cfc08e8ee3316182d (diff) |
turn off debug
-rw-r--r-- | rt/lib/RT/Action/Accumulate.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rt/lib/RT/Action/Accumulate.pm b/rt/lib/RT/Action/Accumulate.pm index 03ac8e4ae..0da7d2ef5 100644 --- a/rt/lib/RT/Action/Accumulate.pm +++ b/rt/lib/RT/Action/Accumulate.pm @@ -23,8 +23,8 @@ the same name, and should be single-valued fields. sub Prepare { my $self = shift; my $cfname = $self->Argument or return 0; - RT::Logger->info('Accumulate::Prepare called on transaction '. - $self->TransactionObj->Id." field $cfname"); + #RT::Logger->info('Accumulate::Prepare called on transaction '. + # $self->TransactionObj->Id." field $cfname"); my $TransObj = $self->TransactionObj; my $TicketObj = $self->TicketObj; if ( $TransObj->Type eq 'Create' and @@ -49,8 +49,8 @@ sub Commit { my $obj = $self->{'obj'}; my $newval = $self->{'inc_by'} + ($obj->FirstCustomFieldValue($cfname) || 0); - RT::Logger->info('Accumulate::Commit called on '.ref($obj).' '. - $obj->Id." field $cfname"); + #RT::Logger->info('Accumulate::Commit called on '.ref($obj).' '. + # $obj->Id." field $cfname"); my ($val) = $obj->AddCustomFieldValue( Field => $cfname, Value => $newval, |