Closed Bug 290511 Opened 19 years ago Closed 19 years ago

Move RemoveVotes out of globals.pl

Categories

(Bugzilla :: Bugzilla-General, defect)

2.19.2
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(1 file)

Votes are related to bugs and then this function should go into Bug.pm. I need
to work on this function as part of fixing bug 34172, so this is a good
opportunity to do the move.
Attached patch patch, v1Splinter Review
Move RemoveVotes() from globals.pl to Bug.pm. No fonctionality change.
Attachment #180842 - Flags: review?(mkanat)
Comment on attachment 180842 [details] [diff] [review]
patch, v1

OK. Eventually this should become a method of the Bug object. (So it's OK that
it stays TitleCaseNamed for now.) 

I'm a little concerned about the circular dependency between BugMail and Bug
that will arise, but that's OK for now, I suppose.
Attachment #180842 - Flags: review?(mkanat) → review+
Status: NEW → ASSIGNED
Flags: approval?
circular dependencies are evil.  But as long as it works, we'll clean those up
when we do the final run of attacks for mod_perl.
Flags: approval? → approval+
Target Milestone: --- → Bugzilla 2.20
Checking in editproducts.cgi;
/cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v  <--  editproducts.cgi
new revision: 1.80; previous revision: 1.79
done
Checking in globals.pl;
/cvsroot/mozilla/webtools/bugzilla/globals.pl,v  <--  globals.pl
new revision: 1.320; previous revision: 1.319
done
Checking in Bugzilla/Bug.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Bug.pm,v  <--  Bug.pm
new revision: 1.74; previous revision: 1.73
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Blocks: bz-globals
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: