summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Requirements.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-08-08 02:12:55 +0200
committermkanat%bugzilla.org <>2007-08-08 02:12:55 +0200
commita54149e000548823cfc5821957bc7e5c13def944 (patch)
treee519e64ab0660cd2a55fd90e4d3a6b6bc4cdde46 /Bugzilla/Install/Requirements.pm
parent3ee9b0a296890ace3e960b6f6ae463a0f45da980 (diff)
downloadbugzilla-a54149e000548823cfc5821957bc7e5c13def944.tar.gz
bugzilla-a54149e000548823cfc5821957bc7e5c13def944.tar.xz
Bug 389845: Remove setup.cgi from Bugzilla (no web-based installation)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'Bugzilla/Install/Requirements.pm')
-rw-r--r--Bugzilla/Install/Requirements.pm21
1 files changed, 4 insertions, 17 deletions
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;