[Rt-commit] rt branch, 4.2/remove-setoriginobj, created. rt-4.0.0rc7-249-ge635526
Shawn Moore
sartak at bestpractical.com
Tue May 17 12:08:48 EDT 2011
The branch, 4.2/remove-setoriginobj has been created
at e63552698d78bf850eb9b07df634fd16457988ba (commit)
- Log -----------------------------------------------------------------
commit e63552698d78bf850eb9b07df634fd16457988ba
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue May 17 12:06:36 2011 -0400
Remove vestigial, guarded calls to a "SetOriginObj"
This was added for 3.0.2 in a82f10ef885d92 and never called
anywhere, and provided without any explanation.
diff --git a/lib/RT/Action/CreateTickets.pm b/lib/RT/Action/CreateTickets.pm
index 54f69d5..52680b7 100644
--- a/lib/RT/Action/CreateTickets.pm
+++ b/lib/RT/Action/CreateTickets.pm
@@ -387,10 +387,6 @@ sub CreateByTemplate {
}
$RT::Logger->debug("Assigned $template_id with $id");
- $T::Tickets{$template_id}->SetOriginObj( $self->TicketObj )
- if $self->TicketObj
- && $T::Tickets{$template_id}->can('SetOriginObj');
-
}
$self->PostProcess( \@links, \@postponed );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list