summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-06-03 18:47:37 +0200
committerbbaetz%acm.org <>2003-06-03 18:47:37 +0200
commit1d057f02b277d29ad4d232d598c49b0344798b40 (patch)
tree5dd73500b1cf10b51875179f7559c8ec97f0b5be /process_bug.cgi
parent3a843833f4ab5d07f10e199daa7ec317e03b9959 (diff)
downloadbugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.gz
bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.xz
Bug 180635 - Enhance Bugzilla::User to store additional information
r=myk,jake
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi10
1 files changed, 6 insertions, 4 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index b9414d534..45974d465 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -57,7 +57,8 @@ use vars qw(%versions
);
ConnectToDatabase();
-my $whoid = confirm_login();
+my $user = confirm_login();
+my $whoid = $user->id;
my $cgi = Bugzilla->cgi;
@@ -1093,9 +1094,10 @@ foreach my $id (@idlist) {
"keywords $write, longdescs $write, fielddefs $write, " .
"bug_group_map $write, flags $write, duplicates $write," .
# user_group_map would be a READ lock except that Flag::process
- # may call Flag::notify, which calls ConfirmGroup, which might
- # call DeriveGroup, which wants a WRITE lock on that table.
- # group_group_map is in here at all because DeriveGroups needs it.
+ # may call Flag::notify, which creates a new user object,
+ # which might call derive_groups, which wants a WRITE lock on that
+ # table. group_group_map is in here at all because derive_groups
+ # needs it.
"user_group_map $write, group_group_map READ, flagtypes READ, " .
"flaginclusions AS i READ, flagexclusions AS e READ, " .
"keyworddefs READ, groups READ, attachments READ, " .