aboutsummaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-31 18:27:26 +0000
committerlpsolit%gmail.com <>2006-03-31 18:27:26 +0000
commitf5c61f2184b3d93768eacfd676a5513caabcc1a5 (patch)
treeec32beeba4fd15efbb1d309b832b67029cbc0996 /editproducts.cgi
parent8f893f4d3aa0c635193b2f4240fc707bd31846ac (diff)
downloadbugs-f5c61f2184b3d93768eacfd676a5513caabcc1a5.tar
bugs-f5c61f2184b3d93768eacfd676a5513caabcc1a5.tar.gz
bugs-f5c61f2184b3d93768eacfd676a5513caabcc1a5.tar.bz2
bugs-f5c61f2184b3d93768eacfd676a5513caabcc1a5.tar.xz
bugs-f5c61f2184b3d93768eacfd676a5513caabcc1a5.zip
Bug 301020: Remove useless locked tables - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi7
1 files changed, 1 insertions, 6 deletions
diff --git a/editproducts.cgi b/editproducts.cgi
index 30b3d32a6..794caf158 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -806,12 +806,7 @@ if ($action eq 'update') {
{votestoconfirm => $stored_votestoconfirm});
}
- $dbh->bz_lock_tables('products WRITE',
- 'versions READ',
- 'groups WRITE',
- 'group_control_map WRITE',
- 'profiles WRITE',
- 'milestones READ');
+ $dbh->bz_lock_tables('products WRITE', 'milestones READ');
my $testproduct =
new Bugzilla::Product({name => $product_name});