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

sartak at bestpractical.com sartak at bestpractical.com
Mon Dec 14 09:59:58 EST 2009


The branch, 3.999-trunk has been updated
       via  80d20aefc6b5c6d1c2d92b6c756c0915a020a023 (commit)
      from  8814ab85c98071b46cdb4f27ee5a6e230d0235df (commit)

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

- Log -----------------------------------------------------------------
commit 80d20aefc6b5c6d1c2d92b6c756c0915a020a023
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Dec 14 09:59:48 2009 -0500

    Always load Crypt::GnuPG

diff --git a/lib/RT/Action/CreateTicket.pm b/lib/RT/Action/CreateTicket.pm
index c2290f4..1eaa16f 100644
--- a/lib/RT/Action/CreateTicket.pm
+++ b/lib/RT/Action/CreateTicket.pm
@@ -6,6 +6,8 @@ use base 'RT::Action::QueueBased', 'RT::Action::WithCustomFields', 'Jifty::Actio
 use constant record_class => 'RT::Model::Ticket';
 use constant report_detailed_messages => 1;
 
+use RT::Crypt::GnuPG;
+
 use Jifty::Param::Schema;
 use Jifty::Action schema {
     param status =>
@@ -241,7 +243,6 @@ sub select_key_for_encryption {
     my $email   = shift;
     my $default = shift;
 
-    require RT::Crypt::GnuPG;
     my %res = RT::Crypt::GnuPG::get_keys_for_encryption($email);
 
     # move the preferred key to the top of the list

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


More information about the Rt-commit mailing list