[Rt-commit] rt branch, master, updated. rt-4.0.1-240-g9850281

Thomas Sibley trs at bestpractical.com
Mon Jul 25 11:22:06 EDT 2011


The branch, master has been updated
       via  98502815fc0cd3b480a63ea051e8c420313d4e33 (commit)
      from  6482058e821f785cd587fa9f888aaad720842124 (commit)

Summary of changes:
 lib/RT/Action/CreateTickets.pm |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit 98502815fc0cd3b480a63ea051e8c420313d4e33
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Jul 25 10:35:32 2011 -0400

    Remove old, never used references to %T::X meant to be filled in by the template
    
    This entered RT in a82f10ef88 and appears to be the only place that
    [$%@]X or T::X was ever used in the RT codebase.  It seems to be core
    code originally meant to support a custom extension by the author.

diff --git a/lib/RT/Action/CreateTickets.pm b/lib/RT/Action/CreateTickets.pm
index 52680b7..695c6de 100644
--- a/lib/RT/Action/CreateTickets.pm
+++ b/lib/RT/Action/CreateTickets.pm
@@ -663,11 +663,6 @@ 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