Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
a6440668
Commit
a6440668
authored
Mar 03, 2011
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove _join_flag_tables from Search.pm, which was dead code.
parent
d275f99f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
Search.pm
Bugzilla/Search.pm
+0
-25
No files found.
Bugzilla/Search.pm
View file @
a6440668
...
...
@@ -2328,31 +2328,6 @@ sub _percentage_complete {
$self
->
_add_extra_column
(
'actual_time'
);
}
sub
_join_flag_tables
{
my
(
$self
,
$args
)
=
@_
;
my
(
$joins
,
$chart_id
)
=
@$args
{
qw(joins chart_id)
};
my
$attach_table
=
"attachments_$chart_id"
;
my
$flags_table
=
"flags_$chart_id"
;
my
$extra
=
$self
->
_user
->
is_insider
?
[]
:
[
"$attach_table.isprivate = 0"
];
my
$attachments_join
=
{
table
=>
'attachments'
,
as
=>
$attach_table
,
extra
=>
$extra
,
};
# We join both the bugs and the attachments table in separately,
# and then the join code will later combine the terms.
my
$flags_join
=
{
table
=>
'flags'
,
as
=>
$flags_table
,
extra
=>
[
"($flags_table.attach_id = $attach_table.attach_id "
.
" OR $flags_table.attach_id IS NULL)"
],
};
push
(
@$joins
,
$attachments_join
,
$flags_join
);
}
sub
_days_elapsed
{
my
(
$self
,
$args
)
=
@_
;
my
$dbh
=
Bugzilla
->
dbh
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment