[Rt-commit] r9311 - in rtir/branches/2.3-EXPERIMENTAL: .
sartak at bestpractical.com
sartak at bestpractical.com
Mon Oct 15 16:35:55 EDT 2007
Author: sartak
Date: Mon Oct 15 16:35:55 2007
New Revision: 9311
Modified:
rtir/branches/2.3-EXPERIMENTAL/ (props changed)
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html
Log:
r43702 at onn: sartak | 2007-10-15 16:35:37 -0400
Make sure RT::Crypt::GnuPG is loaded when creating/updating a ticket
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html Mon Oct 15 16:35:55 2007
@@ -349,6 +349,8 @@
}
if ( RT->Config->Get('GnuPG')->{'Enable'} ) {
+ require RT::Crypt::GnuPG;
+
foreach ( qw(Sign Encrypt) ) {
$ARGS{ $_ } = $m->comp( '/Widgets/Form/Boolean:Process',
Name => $_,
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html Mon Oct 15 16:35:55 2007
@@ -177,6 +177,10 @@
my $checks_failure;
+if ( RT->Config->Get('GnuPG')->{'Enable'} ) {
+ require RT::Crypt::GnuPG;
+}
+
# check to see if we have a good passphrase
my $cannot_sign = 0;
if ( $ARGS{'SubmitTicket'} && $ARGS{'Sign'} ) {
More information about the Rt-commit
mailing list