From 5b263218145f896e3ec3a214458e2e1985cf2723 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 19 Dec 2007 06:41:58 +0000 Subject: Bug 408766: Apache::DBI was unnecessary and was causing problems for some users. Patch By Max Kanat-Alexander r=justdave, a=mkanat --- Bugzilla/DB.pm | 1 - Bugzilla/Install/Requirements.pm | 6 ------ docs/xml/installation.xml | 11 +---------- mod_perl.pl | 1 - 4 files changed, 1 insertion(+), 18 deletions(-) diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index ec241bcca..40cd3e3a1 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -1065,7 +1065,6 @@ sub db_new { } # connect using our known info to the specified db - # Apache::DBI will cache this when using mod_perl my $self = DBI->connect($dsn, $user, $pass, $attributes) or die "\nCan't connect to the database.\nError: $DBI::errstr\n" . " Is your database installed and up and running?\n Do you have" diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 05f74e81f..714bb3871 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -225,12 +225,6 @@ sub OPTIONAL_MODULES { version => '3.11', feature => 'mod_perl' }, - { - package => 'Apache-DBI', - module => 'Apache::DBI', - version => '0.96', - feature => 'mod_perl' - }, ); my $all_modules = _get_extension_requirements( diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index 58b7d33aa..572d16f33 100644 --- a/docs/xml/installation.xml +++ b/docs/xml/installation.xml @@ -1,5 +1,5 @@ - + Installing Bugzilla @@ -473,12 +473,6 @@ - - - Apache::DBI - (&min-apache-dbi-ver;) for mod_perl2 - - @@ -655,9 +649,6 @@ Bugzilla also requires a more up-to-date version of the CGI perl module to be installed, version &min-mp-cgi-ver; as opposed to &min-cgi-ver; - - Finally, Bugzilla also requires Apache::DBI - (&min-apache-dbi-ver;) to be installed as well. diff --git a/mod_perl.pl b/mod_perl.pl index bc22a774f..b4a8f297e 100644 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -28,7 +28,6 @@ use strict; # startup, so we always specify () after using any module in this # file. -use Apache::DBI (); use Apache2::ServerUtil; use Apache2::SizeLimit; use ModPerl::RegistryLoader (); -- cgit v1.2.3-24-g4f1b