summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-05-09 08:20:22 +0200
committergerv%gerv.net <>2002-05-09 08:20:22 +0200
commit8e1441fe627acf8a38e442f17a03e3d65032ede7 (patch)
tree7e5814e02adb389ad0b24d06c314586513e87f0e /defparams.pl
parent74bcd6f1f81aa9d6cc06de9e22ca4922a9e36b89 (diff)
downloadbugzilla-8e1441fe627acf8a38e442f17a03e3d65032ede7.tar.gz
bugzilla-8e1441fe627acf8a38e442f17a03e3d65032ede7.tar.xz
Bug 143040 - Tidy up remove parameters message in checksetup.pl. Patch by gerv; r=justdave, ddk.
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl11
1 files changed, 1 insertions, 10 deletions
diff --git a/defparams.pl b/defparams.pl
index 2c6b8b889..fbd9631d2 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -54,16 +54,7 @@ sub WriteParams {
}
}
}
- # If Bugzilla has been upgraded since the last time parameters were edited,
- # and some parameters have been removed in the new version of Bugzilla,
- # remove them from the parameters file.
- foreach my $item (keys %::param) {
- if (!grep($_ eq $item, @::param_list) && $item ne "version") {
- print "The <em>$item</em> parameter is no longer used in Bugzilla
- and has been removed from your parameters file.<br>";
- delete $::param{$item};
- }
- }
+
my $tmpname = "data/params.$$";
open(FID, ">$tmpname") || die "Can't create $tmpname";
my $v = $::param{'version'};