summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-31 20:27:26 +0200
committerlpsolit%gmail.com <>2006-03-31 20:27:26 +0200
commitf5c61f2184b3d93768eacfd676a5513caabcc1a5 (patch)
treeec32beeba4fd15efbb1d309b832b67029cbc0996 /editusers.cgi
parent8f893f4d3aa0c635193b2f4240fc707bd31846ac (diff)
downloadbugzilla-f5c61f2184b3d93768eacfd676a5513caabcc1a5.tar.gz
bugzilla-f5c61f2184b3d93768eacfd676a5513caabcc1a5.tar.xz
Bug 301020: Remove useless locked tables - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi14
1 files changed, 2 insertions, 12 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 6e56a3847..639e5ee1c 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -199,13 +199,8 @@ if ($action eq 'search') {
my $disabledtext = trim($cgi->param('disabledtext') || '');
# Lock tables during the check+creation session.
- $dbh->bz_lock_tables('profiles WRITE',
- 'profiles_activity WRITE',
- 'groups READ',
- 'user_group_map WRITE',
- 'email_setting WRITE',
- 'namedqueries READ',
- 'whine_queries READ',
+ $dbh->bz_lock_tables('profiles WRITE', 'email_setting WRITE',
+ 'user_group_map WRITE', 'groups READ',
'tokens READ');
# Validity checks
@@ -249,13 +244,10 @@ if ($action eq 'search') {
$dbh->bz_lock_tables('profiles WRITE',
'profiles_activity WRITE',
'fielddefs READ',
- 'namedqueries READ',
- 'whine_queries READ',
'tokens WRITE',
'logincookies WRITE',
'groups READ',
'user_group_map WRITE',
- 'user_group_map AS ugm READ',
'group_group_map READ',
'group_group_map AS ggm READ');
@@ -528,10 +520,8 @@ if ($action eq 'search') {
'profiles_activity WRITE',
'email_setting WRITE',
'profile_setting WRITE',
- 'groups READ',
'bug_group_map READ',
'user_group_map WRITE',
- 'group_group_map READ',
'flags WRITE',
'flagtypes READ',
'cc WRITE',