diff options
author | Dylan Hardison <dylan@mozilla.com> | 2016-02-23 22:23:20 +0100 |
---|---|---|
committer | Dylan Hardison <dylan@mozilla.com> | 2016-02-23 22:23:20 +0100 |
commit | 2c33712dc066463ab9741a009e56d9a5c2ffedf6 (patch) | |
tree | 0be4c1368181648d715a35fd077324d3db0e4dc7 /Bugzilla/DB.pm | |
parent | a8adffb5ba7161a9ac491cca98d880577c1ab2fc (diff) | |
download | bugzilla-2c33712dc066463ab9741a009e56d9a5c2ffedf6.tar.gz bugzilla-2c33712dc066463ab9741a009e56d9a5c2ffedf6.tar.xz |
Bug 1246528 - Use Makefile.PL and allow Bugzilla use cpanm-compatible local dependencies
r=dkl,a=dylan
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r-- | Bugzilla/DB.pm | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 999b6ae10..96a68af03 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -165,10 +165,6 @@ sub bz_check_requirements { . bz_locations()->{'localconfig'}; } - # Check the existence and version of the DBD that we need. - my $dbd = $db->{dbd}; - _bz_check_dbd($db, $output); - # We don't try to connect to the actual database if $db_check is # disabled. unless ($lc->{db_check}) { @@ -183,27 +179,6 @@ sub bz_check_requirements { print "\n" if $output; } -sub _bz_check_dbd { - my ($db, $output) = @_; - - my $dbd = $db->{dbd}; - unless (have_vers($dbd, $output)) { - my $sql_server = $db->{name}; - my $command = install_command($dbd); - my $root = ROOT_USER; - my $dbd_mod = $dbd->{module}; - my $dbd_ver = $dbd->{version}; - die <<EOT; - -For $sql_server, Bugzilla requires that perl's $dbd_mod $dbd_ver or later be -installed. To install this module, run the following command (as $root): - - $command - -EOT - } -} - sub bz_check_server_version { my ($self, $db, $output) = @_; |