Navigation Menu

Skip to content

Commit

Permalink
Don't run scrips for reminders on ticket queue changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Lacour committed Apr 6, 2011
1 parent 3c61239 commit c085840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RT/Ticket.pm
Expand Up @@ -1777,7 +1777,7 @@ sub SetQueue {
# On queue change, change queue for reminders too
my $reminder_collection = $self->Reminders->Collection;
while ( my $reminder = $reminder_collection->Next ) {
my ($status, $msg) = $reminder->SetQueue($NewQueue);
my ($status, $msg) = $reminder->_Set( Field => 'Queue', Value => $NewQueueObj->Id(), RecordTransaction => 0 );
$RT::Logger->error('Queue change failed for reminder #' . $reminder->Id . ': ' . $msg) unless $status;
}
}
Expand Down

0 comments on commit c085840

Please sign in to comment.