]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1304179 - Remove REQUIRED_MODULES references from release notes (and Template.pm)
authorDylan William Hardison <dylan@hardison.net>
Fri, 23 Sep 2016 21:41:49 +0000 (17:41 -0400)
committerDylan William Hardison <dylan@hardison.net>
Fri, 23 Sep 2016 21:41:49 +0000 (17:41 -0400)
Bugzilla/Template.pm
template/en/default/pages/release-notes.html.tmpl

index ab2461f1bf88cea9c515a9061323decaf9539e4f..eb1496fca8f56c85f982555a0b425a74fa4fbf48 100644 (file)
@@ -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.
index 690d334ae9800241756426675b2ff8971edb9d54..7e1ba15d9f766394a662e81767d8d41455130c74 100644 (file)
 
 [% 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