aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-06-21 22:03:10 +0000
committerjustdave%syndicomm.com <>2001-06-21 22:03:10 +0000
commitb6622d0c8e5c133e84b1738f94d318816319dbc6 (patch)
tree478e16355f5486a4b82aea335f3e1e2eff1e28fa
parent5f4abd291a30ca64260d69c364f92112a54c321e (diff)
downloadbugs-b6622d0c8e5c133e84b1738f94d318816319dbc6.tar
bugs-b6622d0c8e5c133e84b1738f94d318816319dbc6.tar.gz
bugs-b6622d0c8e5c133e84b1738f94d318816319dbc6.tar.bz2
bugs-b6622d0c8e5c133e84b1738f94d318816319dbc6.tar.xz
bugs-b6622d0c8e5c133e84b1738f94d318816319dbc6.zip
Re-fix for bug 28458: AddFDef always replaces the fielddefs every time you run checksetup.pl, so the change to them during doeditparams was nullified if you updated. Other recent changes have nullified the reason for changing it in editparams anyway, so just backing that part out.
Patch by Jake Steenhagen <jake@acutex.net> r= justdave@syndicomm.com
-rwxr-xr-xchecksetup.pl2
-rwxr-xr-xdoeditparams.cgi6
2 files changed, 1 insertions, 7 deletions
diff --git a/checksetup.pl b/checksetup.pl
index b349a3065..561d6fd4c 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1097,7 +1097,7 @@ AddFDef("component", "Component", 1);
AddFDef("assigned_to", "AssignedTo", 1);
AddFDef("reporter", "ReportedBy", 1);
AddFDef("votes", "Votes", 0);
-AddFDef("qa_contact", "QAContact", 0);
+AddFDef("qa_contact", "QAContact", 1);
AddFDef("cc", "CC", 1);
AddFDef("dependson", "BugsThisDependsOn", 0);
AddFDef("blocked", "OtherBugsDependingOnThis", 0);
diff --git a/doeditparams.cgi b/doeditparams.cgi
index 3d95637fe..06019b817 100755
--- a/doeditparams.cgi
+++ b/doeditparams.cgi
@@ -68,12 +68,6 @@ foreach my $i (@::param_list) {
# print "Old: '" . url_quote(Param($i)) . "'<BR>\n";
# print "New: '" . url_quote($::FORM{$i}) . "'<BR>\n";
$::param{$i} = $::FORM{$i};
- # If the useqacontact Param is changing, update the mailheader
- if ($i eq 'useqacontact') {
- print "&nbsp;&nbsp;&nbsp;- Updating mailhead information<br>\n";
- SendSQL("UPDATE fielddefs SET mailhead = " . SqlQuote($::param{$i}) .
- "WHERE name = 'qa_contact'");
- }
}
}