summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-03-31 21:16:13 +0200
committerlpsolit%gmail.com <>2009-03-31 21:16:13 +0200
commitd8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6 (patch)
treec931407869e349842e8b30a817f10f22217a37dd /sanitycheck.cgi
parenta86ee3a1ca5213d5401c6425cfb0fcfc7bb15e78 (diff)
downloadbugzilla-d8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6.tar.gz
bugzilla-d8dc06a626ad4542d9d5db9c5e2a2de7f4003cc6.tar.xz
Bug 478972: Remove the 'useentrygroupdefault' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi12
1 files changed, 4 insertions, 8 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 93228fc67..c43641fb6 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -140,14 +140,10 @@ if ($cgi->param('createmissinggroupcontrolmapentries')) {
my $na = CONTROLMAPNA;
my $shown = CONTROLMAPSHOWN;
my $insertsth = $dbh->prepare(
- qq{INSERT INTO group_control_map (
- group_id, product_id, entry,
- membercontrol, othercontrol, canedit
- )
- VALUES (
- ?, ?, 0,
- $shown, $na, 0
- )});
+ qq{INSERT INTO group_control_map
+ (group_id, product_id, membercontrol, othercontrol)
+ VALUES (?, ?, $shown, $na)});
+
my $updatesth = $dbh->prepare(qq{UPDATE group_control_map
SET membercontrol = $shown
WHERE group_id = ?