[Rt-commit] rt branch, 4.2/reminder-queue-change, created. rt-4.0.0rc7-247-gc085840
Emannuel Lacour
elacour at bestpractical.com
Wed Apr 6 05:03:18 EDT 2011
The branch, 4.2/reminder-queue-change has been created
at c08584064c56e5c430a777e4efe5eeb3ad40b03e (commit)
- Log -----------------------------------------------------------------
commit c08584064c56e5c430a777e4efe5eeb3ad40b03e
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date: Wed Apr 6 11:02:43 2011 +0200
Don't run scrips for reminders on ticket queue changes
diff --git a/lib/RT/Ticket.pm b/lib/RT/Ticket.pm
index 0b0b306..7e22ff0 100644
--- a/lib/RT/Ticket.pm
+++ b/lib/RT/Ticket.pm
@@ -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;
}
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list