Commit 5b263218 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 408766: Apache::DBI was unnecessary and was causing problems for some users.

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=mkanat
parent d3108642
...@@ -1065,7 +1065,6 @@ sub db_new { ...@@ -1065,7 +1065,6 @@ sub db_new {
} }
# connect using our known info to the specified db # 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) my $self = DBI->connect($dsn, $user, $pass, $attributes)
or die "\nCan't connect to the database.\nError: $DBI::errstr\n" or die "\nCan't connect to the database.\nError: $DBI::errstr\n"
. " Is your database installed and up and running?\n Do you have" . " Is your database installed and up and running?\n Do you have"
......
...@@ -225,12 +225,6 @@ sub OPTIONAL_MODULES { ...@@ -225,12 +225,6 @@ sub OPTIONAL_MODULES {
version => '3.11', version => '3.11',
feature => 'mod_perl' feature => 'mod_perl'
}, },
{
package => 'Apache-DBI',
module => 'Apache::DBI',
version => '0.96',
feature => 'mod_perl'
},
); );
my $all_modules = _get_extension_requirements( my $all_modules = _get_extension_requirements(
......
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> --> <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
<!-- $Id: installation.xml,v 1.147 2007/10/19 06:46:18 mkanat%bugzilla.org Exp $ --> <!-- $Id: installation.xml,v 1.148 2007/12/19 00:42:00 mkanat%bugzilla.org Exp $ -->
<chapter id="installing-bugzilla"> <chapter id="installing-bugzilla">
<title>Installing Bugzilla</title> <title>Installing Bugzilla</title>
...@@ -473,12 +473,6 @@ ...@@ -473,12 +473,6 @@
</para> </para>
</listitem> </listitem>
<listitem>
<para>
Apache::DBI
(&min-apache-dbi-ver;) for mod_perl2
</para>
</listitem>
</orderedlist> </orderedlist>
</para> </para>
...@@ -655,9 +649,6 @@ ...@@ -655,9 +649,6 @@
<para>Bugzilla also requires a more up-to-date version of the CGI <para>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; perl module to be installed, version &min-mp-cgi-ver; as opposed to &min-cgi-ver;
</para> </para>
<para>Finally, Bugzilla also requires <literal>Apache::DBI</literal>
(&min-apache-dbi-ver;) to be installed as well.</para>
</section> </section>
</section> </section>
......
...@@ -28,7 +28,6 @@ use strict; ...@@ -28,7 +28,6 @@ use strict;
# startup, so we always specify () after using any module in this # startup, so we always specify () after using any module in this
# file. # file.
use Apache::DBI ();
use Apache2::ServerUtil; use Apache2::ServerUtil;
use Apache2::SizeLimit; use Apache2::SizeLimit;
use ModPerl::RegistryLoader (); use ModPerl::RegistryLoader ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment