Bugzilla – Attachment 2268 Details for
Bug 4911
Duplicate code in reports/guided_reports.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0001-Bug-4911-Remove-duplicated-code.patch (text/plain), 1.08 KB, created by
Colin Campbell
on 2010-06-25 09:48:46 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2010-06-25 09:48:46 UTC
Size:
1.08 KB
patch
obsolete
>From 5baf5b11d2cd11b8c39c5753a51ea4b5ec0e3724 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Fri, 25 Jun 2010 10:43:45 +0100 >Subject: [PATCH] Bug 4911 Remove duplicated code >Content-Type: text/plain; charset="utf-8" > >Two duplicated subroutine definitions removed >--- > reports/guided_reports.pl | 12 ------------ > 1 files changed, 0 insertions(+), 12 deletions(-) > >diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl >index d519423..269f7a8 100755 >--- a/reports/guided_reports.pl >+++ b/reports/guided_reports.pl >@@ -601,18 +601,6 @@ sub header_cell_loop { > return \@headers; > } > >-# pass $sth, get back an array of names for the column headers >-sub header_cell_values { >- my $sth = shift or return (); >- return @{$sth->{NAME}}; >-} >- >-# pass $sth, get back a TMPL_LOOP-able set of names for the column headers >-sub header_cell_loop { >- my @headers = map { +{ cell => $_ } } header_cell_values (shift); >- return \@headers; >-} >- > foreach (1..6) { > $template->param('build' . $_) and $template->param(buildx => $_) and last; > } >-- >1.7.0.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4911
: 2268