[Rt-commit] rt branch, create-action, updated. 311a5252a19aed3487b29343c1d8ff64a28ee266

sartak at bestpractical.com sartak at bestpractical.com
Tue Sep 1 04:03:35 EDT 2009


The branch, create-action has been updated
       via  311a5252a19aed3487b29343c1d8ff64a28ee266 (commit)
       via  418119a1c63464f83da84be5c977832ecfb5587b (commit)
      from  44b770ad872ba8c30b80da678855b487f8fb09e0 (commit)

Summary of changes:
 lib/RT/Action/CreateTicket.pm |    6 ++----
 share/html/Ticket/Create.html |    2 ++
 2 files changed, 4 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 418119a1c63464f83da84be5c977832ecfb5587b
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Sep 1 03:47:44 2009 -0400

    tidy

diff --git a/lib/RT/Action/CreateTicket.pm b/lib/RT/Action/CreateTicket.pm
index 75a5cde..3ac66b0 100644
--- a/lib/RT/Action/CreateTicket.pm
+++ b/lib/RT/Action/CreateTicket.pm
@@ -1,11 +1,9 @@
 package RT::Action::CreateTicket;
 use strict;
 use warnings;
+use base 'Jifty::Action::Record::Create';
 
-use base qw/Jifty::Action::Record::Create/;
-
-sub record_class { 'RT::Model::Ticket' }
-
+use constant record_class => 'RT::Model::Ticket';
 use constant report_detailed_messages => 1;
 
 1;

commit 311a5252a19aed3487b29343c1d8ff64a28ee266
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Sep 1 04:03:26 2009 -0400

    fix unclosed {{{

diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index 017df90..4c70873 100755
--- a/share/html/Ticket/Create.html
+++ b/share/html/Ticket/Create.html
@@ -346,6 +346,8 @@ foreach my $key (keys %ARGS) {
         delete $attachments->{$1};
     }
 }
+# }}}
+
 Jifty->web->session->set('Attachments', $attachments);
 
 # {{{ store the uploaded attachment in session

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


More information about the Rt-commit mailing list