summaryrefslogtreecommitdiffstats
path: root/editversions.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 /editversions.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 'editversions.cgi')
-rwxr-xr-xeditversions.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/editversions.cgi b/editversions.cgi
index dc6992ba8..dc03bfed9 100755
--- a/editversions.cgi
+++ b/editversions.cgi
@@ -255,9 +255,7 @@ if ($action eq 'update') {
# Note that the order of this tests is important. If you change
# them, be sure to test for WHERE='$version' or WHERE='$versionold'
- $dbh->bz_lock_tables('bugs WRITE',
- 'versions WRITE',
- 'products READ');
+ $dbh->bz_lock_tables('bugs WRITE', 'versions WRITE');
if ($version_name ne $version_old->name) {