diff options
| author | Mark Wells <mark@freeside.biz> | 2012-12-28 18:18:09 -0800 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-12-28 18:18:09 -0800 |
| commit | 491f8d01bb2532636f604658ddaa9f07f4a6e997 (patch) | |
| tree | 689e657ea68636e8558ba53750c1e2b00dcdcef3 /rt/lib | |
| parent | 9e9c755d167db759e53c2378214fed057fad0661 (diff) | |
turn off debug
Diffstat (limited to 'rt/lib')
| -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, |
