
sartak at bestpractical
Nov 4, 2009, 1:33 PM
Post #1 of 1
(68 views)
Permalink
|
|
rt branch, create-action, updated. 30e3416b7fd3530f2b3e85809b6f01a3d5de210e
|
|
The branch, create-action has been updated via 30e3416b7fd3530f2b3e85809b6f01a3d5de210e (commit) from 5cad60697efcb92e77df35d66e2c7c0df3ea6437 (commit) Summary of changes: lib/RT/Action/CreateTicket.pm | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) - Log ----------------------------------------------------------------- commit 30e3416b7fd3530f2b3e85809b6f01a3d5de210e Author: Shawn M Moore <sartak[at]bestpractical.com> Date: Wed Nov 4 16:33:06 2009 -0500 All the logic should be in Ticket->create diff --git a/lib/RT/Action/CreateTicket.pm b/lib/RT/Action/CreateTicket.pm index 889ed1b..fb2b67c 100644 --- a/lib/RT/Action/CreateTicket.pm +++ b/lib/RT/Action/CreateTicket.pm @@ -189,15 +189,6 @@ sub set_final_priority { $self->fill_parameter(final_priority => default_value => $queue->final_priority); } -sub take_action { - my $self = shift; - - # We should inline this function to encourage other people to use this - # action - HTML::Mason::Commands::create_ticket(%{ $self->argument_values }); - $self->SUPER::take_action(@_); -} - sub report_success { my $self = shift; $self->result->message(_("Your ticket has been created!")); ----------------------------------------------------------------------- _______________________________________________ Rt-commit mailing list Rt-commit[at]lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
|