Closed
Bug 289062
Opened 20 years ago
Closed 20 years ago
editusers is querying for groups twice on update
Categories
(Bugzilla :: Administration, task)
Bugzilla
Administration
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: Tomas.Kopal, Assigned: Tomas.Kopal)
Details
Attachments
(1 file, 1 obsolete file)
2.08 KB,
patch
|
Tomas.Kopal
:
review+
bugreport
:
review+
|
Details | Diff | Splinter Review |
Editusers.cgi is selecting ids and names of groups on update, but that
information is already available. We can clean this up.
Whis is a followup from bug 286686.
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•20 years ago
|
||
Sorry, Marc, you have been nominated for review by Max ;-).
Attachment #179661 -
Flags: review?(wurblzap)
Comment 2•20 years ago
|
||
Comment on attachment 179661 [details] [diff] [review]
V1
>diff -ru ../bugzilla-clean/editusers.cgi ./editusers.cgi
>--- ../bugzilla-clean/editusers.cgi 2005-03-16 20:17:03.000000000 +1030
>+++ ./editusers.cgi 2005-04-05 12:02:32.638750000 +0930
>@@ -295,7 +295,6 @@
> });
>
> # We need the group names, too -- for display and for profiles_activity.
>- my $groups = $dbh->selectall_hashref('SELECT id, name FROM groups', 'id');
Please remove the comment as well. Can be done on checkin imo.
Nice clean-up, r=wurblzap.
Attachment #179661 -
Flags: review?(wurblzap) → review+
Updated•20 years ago
|
Flags: blocking2.20?
Flags: approval?
Assignee | ||
Comment 3•20 years ago
|
||
Removed also the comment, as suggested. Carrying the r+ on.
Attachment #179661 -
Attachment is obsolete: true
Attachment #179778 -
Flags: review+
Updated•20 years ago
|
Component: Bugzilla-General → Administration
Updated•20 years ago
|
Flags: blocking2.20?
Flags: blocking2.20+
Flags: approval?
Target Milestone: --- → Bugzilla 2.20
Comment 4•20 years ago
|
||
Comment on attachment 179778 [details] [diff] [review]
V1.1
I'd like to get a second review on this because of the security level of the
code it's touching, since we're in freeze mode now and I'd hate to regress
anything.
Attachment #179778 -
Flags: review?(bugreport)
Comment 5•20 years ago
|
||
Comment on attachment 179778 [details] [diff] [review]
V1.1
r=joel
this looks pretty safe
Attachment #179778 -
Flags: review?(bugreport) → review+
Assignee | ||
Updated•20 years ago
|
Flags: approval?
Updated•20 years ago
|
Flags: approval? → approval+
Comment 6•20 years ago
|
||
Checking in editusers.cgi;
/cvsroot/mozilla/webtools/bugzilla/editusers.cgi,v <-- editusers.cgi
new revision: 1.84; previous revision: 1.83
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
•