[Rt-commit] rt branch, create-action, updated. 30e3416b7fd3530f2b3e85809b6f01a3d5de210e
sartak at bestpractical.com
sartak at bestpractical.com
Wed Nov 4 16:33:13 EST 2009
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!"));
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list