[Rt-commit] rt branch, 3.999-trunk, updated. eab79e3283c7083ea3aef1a3e207055e8e014969

? sunnavy sunnavy at bestpractical.com
Tue Apr 13 11:46:09 EDT 2010


The branch, 3.999-trunk has been updated
       via  eab79e3283c7083ea3aef1a3e207055e8e014969 (commit)
      from  be7a8d2095615819798ebcc4184c35570817ae1d (commit)

Summary of changes:
 lib/RT/Action/{RenewTicket.pm => ReplyToTicket.pm} |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
 rename lib/RT/Action/{RenewTicket.pm => ReplyToTicket.pm} (95%)

- Log -----------------------------------------------------------------
commit eab79e3283c7083ea3aef1a3e207055e8e014969
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Apr 13 23:46:02 2010 +0800

    RenewTicket sucks, renamed to ReplyToTicket

diff --git a/lib/RT/Action/RenewTicket.pm b/lib/RT/Action/ReplyToTicket.pm
similarity index 95%
rename from lib/RT/Action/RenewTicket.pm
rename to lib/RT/Action/ReplyToTicket.pm
index 3c0888f..9822247 100644
--- a/lib/RT/Action/RenewTicket.pm
+++ b/lib/RT/Action/ReplyToTicket.pm
@@ -1,4 +1,4 @@
-package RT::Action::RenewTicket;
+package RT::Action::ReplyToTicket;
 use strict;
 use warnings;
 use base 'RT::Action::TicketAction', 'Jifty::Action::Record';
@@ -76,7 +76,7 @@ sub take_action {
         )
         || ( $type eq 'comment'
             && Jifty->web->current_user->has_right( right =>
-                'CommentOoTicket', object => $record->queue )
+                'CommentOnTicket', object => $record->queue )
         )
       )
     {
@@ -94,6 +94,7 @@ sub take_action {
 
     # XXX reply/comment
 
+
     return 1;
 }
 

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


More information about the Rt-commit mailing list