From a54149e000548823cfc5821957bc7e5c13def944 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 8 Aug 2007 00:12:55 +0000 Subject: Bug 389845: Remove setup.cgi from Bugzilla (no web-based installation) Patch By Max Kanat-Alexander r=LpSolit, a=mkanat --- Bugzilla/Install/Requirements.pm | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'Bugzilla/Install/Requirements.pm') diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 321f90f8d..305c0843a 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -25,7 +25,7 @@ package Bugzilla::Install::Requirements; use strict; -use Bugzilla::Install::Util qw(vers_cmp install_string is_web); +use Bugzilla::Install::Util qw(vers_cmp install_string); use List::Util qw(max); use Safe; @@ -513,22 +513,9 @@ sub have_vers { my $black_string = $blacklisted ? install_string('blacklisted') : ''; my $want_string = $wanted ? "v$wanted" : install_string('any'); - # It's impossible to do the printf formatting in the install_string - # system, so we do it manually below. - if (is_web()) { - print install_string('module_details', - { package => $package, - wanted => $want_string, - found => $vstr, - ok => $ok, - blacklisted => $black_string, - row_class => $vok ? 'mod_ok' : 'mod_not_ok' }); - } - else { - $ok = "$ok:" if $ok; - printf "%s %19s %-9s $ok $vstr $black_string\n", - install_string('checking_for'), $package, "($want_string)"; - } + $ok = "$ok:" if $ok; + printf "%s %19s %-9s $ok $vstr $black_string\n", + install_string('checking_for'), $package, "($want_string)"; } return $vok ? 1 : 0; -- cgit v1.2.3-24-g4f1b