diff options
author | myk%mozilla.org <> | 2002-01-30 22:14:10 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2002-01-30 22:14:10 +0000 |
commit | 429456196dd7ce8ef7e0876b7e57cdc394a228ba (patch) | |
tree | 9822db1683ca3910e53f3a4b3e3d7501ae8f8b42 /defparams.pl | |
parent | Bug 122154 - change arrays to numeric, and clean up query.atml js (diff) | |
download | bugzilla-429456196dd7ce8ef7e0876b7e57cdc394a228ba.tar.gz bugzilla-429456196dd7ce8ef7e0876b7e57cdc394a228ba.tar.bz2 bugzilla-429456196dd7ce8ef7e0876b7e57cdc394a228ba.zip |
Fix for bug 104521: Removes old attachment interface in favor of new attachment tracker.
Patch by Myk Melez <myk@mozilla.org>.
r=bbaetz,kiko
Diffstat (limited to 'defparams.pl')
-rw-r--r-- | defparams.pl | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/defparams.pl b/defparams.pl index 76fb77777..819013341 100644 --- a/defparams.pl +++ b/defparams.pl @@ -54,6 +54,16 @@ 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}; + } + } mkdir("data", 0777); chmod 0777, "data"; my $tmpname = "data/params.$$"; @@ -674,11 +684,6 @@ DefParam("moved-default-component", "t", ''); -DefParam("useattachmenttracker", - "Whether or not to use the attachment tracker that adds additional features for tracking bug attachments.", - "b", - 0); - # The maximum size (in bytes) for patches and non-patch attachments. # The default limit is 1000KB, which is 24KB less than mysql's default # maximum packet size (which determines how much data can be sent in a |