diff options
author | Dylan William Hardison <dylan@hardison.net> | 2016-09-23 23:41:49 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-09-23 23:41:49 +0200 |
commit | 1eece219f8739b3dbd9f334c2f11bb4975be8924 (patch) | |
tree | edc4132aecf14151705ce67634d5b054256ba68f | |
parent | 38e3b75a40ceda26e470198b3dfd44b3dbc03509 (diff) | |
download | bugzilla-1eece219f8739b3dbd9f334c2f11bb4975be8924.tar.gz bugzilla-1eece219f8739b3dbd9f334c2f11bb4975be8924.tar.xz |
Bug 1304179 - Remove REQUIRED_MODULES references from release notes (and Template.pm)
-rw-r--r-- | Bugzilla/Template.pm | 13 | ||||
-rw-r--r-- | template/en/default/pages/release-notes.html.tmpl | 16 |
2 files changed, 0 insertions, 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' %] -<h3 id="v42_req_modules">Required Perl Modules</h3> - -[% INCLUDE req_table reqs = REQUIRED_MODULES - new = ['Math-Random-ISAAC'] - updated = ['URI'] %] - -<h3 id="v42_req_optional_mod">Optional Perl Modules</h3> - -<p>The following perl modules, if installed, enable various - features of [% terms.Bugzilla %]:</p> - -[% INCLUDE req_table reqs = OPTIONAL_MODULES - new = ['Encode', 'Encode-Detect'] - updated = ['PatchReader', 'Apache-SizeLimit'] - include_feature = 1 %] - <h3 id="v42_req_apache">Optional Apache Modules</h3> <p>If you are using Apache as your webserver, [% terms.Bugzilla %] can |