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
151e10f5
Commit
151e10f5
authored
Feb 17, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 281596: Remove RelationSet from Bugzilla::Bug
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=LpSolit, a=myk
parent
db654f60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
Bug.pm
Bugzilla/Bug.pm
+8
-6
No files found.
Bugzilla/Bug.pm
View file @
151e10f5
...
...
@@ -27,7 +27,6 @@ package Bugzilla::Bug;
use
strict
;
use
Bugzilla::
RelationSet
;
use
vars
qw($legal_keywords @legal_platform
@legal_priority @legal_severity @legal_opsys @legal_bugs_status
@settable_resolution %components %versions %target_milestone
...
...
@@ -201,11 +200,14 @@ sub initBug {
$self
->
{
'qa_contact'
}
=
undef
;
}
my
$ccSet
=
new
Bugzilla::
RelationSet
;
$ccSet
->
mergeFromDB
(
"select who from cc where bug_id=$bug_id"
);
my
@cc
=
$ccSet
->
toArrayOfStrings
();
if
(
@cc
)
{
$self
->
{
'cc'
}
=
\
@cc
;
my
$cc_ref
=
$dbh
->
selectcol_arrayref
(
q{SELECT profiles.login_name FROM cc, profiles
WHERE bug_id = ?
AND cc.who = profiles.userid
ORDER BY profiles.login_name}
,
undef
,
$bug_id
);
if
(
scalar
(
@$cc_ref
))
{
$self
->
{
'cc'
}
=
$cc_ref
;
}
if
(
@::legal_keywords
)
{
...
...
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