]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
We don't really need to look for fragments that are pulled in by [% INCLUDE %] or...
authorjake%acutex.net <>
Wed, 14 Nov 2001 11:44:07 +0000 (11:44 +0000)
committerjake%acutex.net <>
Wed, 14 Nov 2001 11:44:07 +0000 (11:44 +0000)
t/Support/Templates.pm

index 6e5fb29042ade72ee1f4e507af44dd3723042278..c15611d4660a628428be42eb23cb61cabcd62e6e 100644 (file)
@@ -43,19 +43,4 @@ foreach my $file (@files) {
     }
 }
 
-# Now let's look at the templates and find any other templates
-# that are INCLUDEd.
-foreach my $file(@testitems) {
-    open (FILE, $include_path . "/" . $file) || next;
-    my @lines = <FILE>;
-    close (FILE);
-    foreach my $line (@lines) {
-        if ($line =~ m/\[% (?:INCLUDE|PROCESS) (.+?) /) {
-            my $template = $1;
-            push (@testitems, $template) unless $t{$template};
-            $t{$template} = 1;
-        }
-    }
-}
-
 1;