]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 83618: checksetup.pl crashes if DBI module isn't already installed.
authorjustdave%syndicomm.com <>
Sat, 2 Jun 2001 08:53:01 +0000 (08:53 +0000)
committerjustdave%syndicomm.com <>
Sat, 2 Jun 2001 08:53:01 +0000 (08:53 +0000)
Patch by Dave Miller <justdave@syndicomm.com>
r= jake@acutex.net

checksetup.pl

index be7df27e0bf3c4f4db483a61b9546042eab44a1b..39002c41c5484e754ac49b927817e8c6b5caa74e 100755 (executable)
@@ -557,7 +557,11 @@ if ($my_webservergroup) {
 
 my $db_base = 'mysql';
 
-use DBI;
+# No need to "use" this here.  It should already be loaded from the
+# version-checking routines above, and this file won't even compile if
+# DBI isn't installed so the user gets nasty errors instead of our
+# pretty one saying they need to install it. -- justdave@syndicomm.com
+#use DBI;
 
 # get a handle to the low-level DBD driver
 my $drh = DBI->install_driver($db_base)