summaryrefslogtreecommitdiffstats
path: root/editversions.cgi
diff options
context:
space:
mode:
authorDave Lawrence <dkl@redhat.com>2010-08-31 06:20:07 +0200
committerDave Lawrence <dkl@redhat.com>2010-08-31 06:20:07 +0200
commit77b3addad28c0f3ffc1fb4db1fcdc00527aeb48d (patch)
treea813d550674b01ce0c6d3d63e9f4f0b619841b31 /editversions.cgi
parentc75bcea5f0510417a1f6a14b2f88f2249b3a4109 (diff)
downloadbugzilla-77b3addad28c0f3ffc1fb4db1fcdc00527aeb48d.tar.gz
bugzilla-77b3addad28c0f3ffc1fb4db1fcdc00527aeb48d.tar.xz
Bug 77193 - Add the ability to retire (disable) old versions, components and milestones
r/a=mkanat
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-xeditversions.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/editversions.cgi b/editversions.cgi
index 0888ef0c6..165a174b5 100755
--- a/editversions.cgi
+++ b/editversions.cgi
@@ -63,6 +63,7 @@ my $version_name = trim($cgi->param('version') || '');
my $action = trim($cgi->param('action') || '');
my $showbugcounts = (defined $cgi->param('showbugcounts'));
my $token = $cgi->param('token');
+my $isactive = $cgi->param('isactive');
#
# product = '' -> Show nice list of products
@@ -204,6 +205,7 @@ if ($action eq 'update') {
$dbh->bz_start_transaction();
$version->set_name($version_name);
+ $version->set_is_active($isactive);
my $changes = $version->update();
$dbh->bz_commit_transaction();