[Rt-commit] rt branch, create-action, updated. 3df1f2c504b124466bbefe5f0f96bd12ffc90212

sartak at bestpractical.com sartak at bestpractical.com
Thu Nov 5 15:11:34 EST 2009


The branch, create-action has been updated
       via  3df1f2c504b124466bbefe5f0f96bd12ffc90212 (commit)
      from  021cb8b4a2cc81e6826c5b16e8cc3bf0ce93a45a (commit)

Summary of changes:
 lib/RT/Action/CreateTicket.pm |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

- Log -----------------------------------------------------------------
commit 3df1f2c504b124466bbefe5f0f96bd12ffc90212
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Nov 5 15:11:17 2009 -0500

    We don't need this hack any more since method dispatch is sane again

diff --git a/lib/RT/Action/CreateTicket.pm b/lib/RT/Action/CreateTicket.pm
index 049ac1d..762d273 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 can't rely on regular method dispatch because the QueueBased and
-    # CustomFieldBased superclasses also have take_action, inherited from
-    # Jifty::Action.
-    $self->Jifty::Action::Record::Create::take_action(@_);
-}
-
 sub report_success {
     my $self = shift;
     $self->result->message(_("Your ticket has been created!"));

-----------------------------------------------------------------------


More information about the Rt-commit mailing list