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

jesse jesse at bestpractical.com
Wed Nov 11 11:27:57 EST 2009


The branch, 3.999-trunk has been updated
       via  6d53117d1b9bb229912c06f99e6d19de528194c7 (commit)
      from  0111a5cbd31b99b6d54134f01ed89b21d40fcaa6 (commit)

Summary of changes:
 lib/RT/HasRoleGroups.pm                    |    2 +-
 share/html/Ticket/Elements/ShowTransaction |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 6d53117d1b9bb229912c06f99e6d19de528194c7
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Nov 11 11:27:43 2009 -0500

    AddWatcher -> add_watcher consistently for txn types

diff --git a/lib/RT/HasRoleGroups.pm b/lib/RT/HasRoleGroups.pm
index 6041253..127d27d 100644
--- a/lib/RT/HasRoleGroups.pm
+++ b/lib/RT/HasRoleGroups.pm
@@ -173,7 +173,7 @@ sub _add_watcher {
 
     unless ( $args{'silent'} ) {
         $self->_new_transaction(
-            type      => 'AddWatcher',
+            type      => 'add_watcher',
             new_value => $principal->id,
             field     => $args{'type'},
         );
diff --git a/share/html/Ticket/Elements/ShowTransaction b/share/html/Ticket/Elements/ShowTransaction
index 533779a..ee5cc1b 100755
--- a/share/html/Ticket/Elements/ShowTransaction
+++ b/share/html/Ticket/Elements/ShowTransaction
@@ -106,7 +106,7 @@ my %class = (
     correspond => 'message',
     comment    => 'message',
 
-    AddWatcher => 'people',
+    add_watcher => 'people',
     del_watcher => 'people',
     Take       => 'people',
     Untake     => 'people',

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


More information about the Rt-commit mailing list