Closed
Bug 279544
Opened 20 years ago
Closed 20 years ago
Bug.pm: Eliminate deprecated Bugzilla::DB routines
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file, 1 obsolete file)
5.19 KB,
patch
|
Wurblzap
:
review+
|
Details | Diff | Splinter Review |
OK, I've done buglist.cgi with this, now it's time to go for show_bug.cgi, which is apparently the most-used CGI. We're removing all the SendSQL calls and so forth from the script.
Assignee | ||
Comment 1•20 years ago
|
||
Oh, actually, it turns out that show_bug itself doesn't have any SQL. :-) It's all in Bug.pm.
Summary: show_bug.cgi: Eliminate deprecated Bugzilla::DB routines → Bug.pm: Eliminate deprecated Bugzilla::DB routines
Assignee | ||
Comment 2•20 years ago
|
||
This was pretty easy, actually. I tested the things that I could. Interestingly enough, Bugzilla::Bug::groups is NEVER USED in Bugzilla, so it's impossible to test that code path. :-)
Attachment #172243 -
Flags: review?
Comment 3•20 years ago
|
||
Comment on attachment 172243 [details] [diff] [review] Remove SendSQL calls from Bug.pm Tested; works. Strange about that groups-not-being-called thing. >@@ -484,17 +488,15 @@ > > sub EmitDependList { Nit: it's not your fault, of course, but you've modified this little sub a lot, so I think we could correct indentation to four spaces while we're here... If you do, feel free to move r+ forward.
Attachment #172243 -
Flags: review? → review+
Assignee | ||
Comment 4•20 years ago
|
||
Yeah, I agree that we should do the four-spaces-indent thing and also fix the SQL case.
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•20 years ago
|
||
Attachment #172243 -
Attachment is obsolete: true
Attachment #173101 -
Flags: review?(wurblzap)
Updated•20 years ago
|
Attachment #173101 -
Flags: review?(wurblzap) → review+
Updated•20 years ago
|
Flags: approval?
Updated•20 years ago
|
Flags: approval? → approval+
Target Milestone: --- → Bugzilla 2.20
Comment 6•20 years ago
|
||
Checking in Bugzilla/Bug.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Bug.pm,v <-- Bug.pm new revision: 1.52; previous revision: 1.51 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•