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 ------------- 1 file changed, 13 deletions(-) (limited to 'Bugzilla') 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. -- cgit v1.2.3-24-g4f1b