[Rt-commit] rt branch, 3.8/perlcritic, updated. rt-3.8.10-166-g29593d8
Thomas Sibley
trs at bestpractical.com
Mon Jul 25 11:15:00 EDT 2011
The branch, 3.8/perlcritic has been updated
via 29593d87e49af061548b1e283a354e4c8fc6e400 (commit)
from dff38721c8600ab870142d86e2bdbe769c21ca94 (commit)
Summary of changes:
lib/RT/Action/CreateTickets.pm | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 29593d87e49af061548b1e283a354e4c8fc6e400
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Jul 25 11:14:35 2011 -0400
Revert "Remove old, never used references to %T::X meant to be filled in by the template"
This reverts commit dff38721c8600ab870142d86e2bdbe769c21ca94.
Who knows who is using this. It'll be removed in 4.2 instead.
diff --git a/lib/RT/Action/CreateTickets.pm b/lib/RT/Action/CreateTickets.pm
index 959154b..5fd9028 100755
--- a/lib/RT/Action/CreateTickets.pm
+++ b/lib/RT/Action/CreateTickets.pm
@@ -671,6 +671,11 @@ sub ParseLines {
if ($err) {
$RT::Logger->error( "Ticket creation failed: " . $err );
+ while ( my ( $k, $v ) = each %T::X ) {
+ $RT::Logger->debug(
+ "Eliminating $template_id from ${k}'s parents.");
+ delete $v->{$template_id};
+ }
next;
}
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list