From 1eece219f8739b3dbd9f334c2f11bb4975be8924 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 23 Sep 2016 17:41:49 -0400 Subject: Bug 1304179 - Remove REQUIRED_MODULES references from release notes (and Template.pm) --- Bugzilla/Template.pm | 13 ------------- template/en/default/pages/release-notes.html.tmpl | 16 ---------------- 2 files changed, 29 deletions(-) diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index ab2461f1b..eb1496fca 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -1094,19 +1094,6 @@ sub create { # These don't work as normal constants. DB_MODULE => \&Bugzilla::Constants::DB_MODULE, - REQUIRED_MODULES => - \&Bugzilla::Install::Requirements::REQUIRED_MODULES, - OPTIONAL_MODULES => sub { - my @optional = @{OPTIONAL_MODULES()}; - foreach my $item (@optional) { - my @features; - foreach my $feat_id (@{ $item->{feature} }) { - push(@features, install_string("feature_$feat_id")); - } - $item->{feature} = \@features; - } - return \@optional; - }, 'default_authorizer' => sub { return Bugzilla::Auth->new() }, # It is almost always better to do mobile feature detection, client side in js. diff --git a/template/en/default/pages/release-notes.html.tmpl b/template/en/default/pages/release-notes.html.tmpl index 690d334ae..7e1ba15d9 100644 --- a/template/en/default/pages/release-notes.html.tmpl +++ b/template/en/default/pages/release-notes.html.tmpl @@ -395,22 +395,6 @@ [% INCLUDE db_req db='sqlite' %] -

Required Perl Modules

- -[% INCLUDE req_table reqs = REQUIRED_MODULES - new = ['Math-Random-ISAAC'] - updated = ['URI'] %] - -

Optional Perl Modules

- -

The following perl modules, if installed, enable various - features of [% terms.Bugzilla %]:

- -[% INCLUDE req_table reqs = OPTIONAL_MODULES - new = ['Encode', 'Encode-Detect'] - updated = ['PatchReader', 'Apache-SizeLimit'] - include_feature = 1 %] -

Optional Apache Modules

If you are using Apache as your webserver, [% terms.Bugzilla %] can -- cgit v1.2.3-24-g4f1b