]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 344647: checksetup.pl can create two database connections instead of one
authormkanat%bugzilla.org <>
Sat, 5 Aug 2006 04:19:56 +0000 (04:19 +0000)
committermkanat%bugzilla.org <>
Sat, 5 Aug 2006 04:19:56 +0000 (04:19 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, r=bkor, a=myk

checksetup.pl

index c4d5252a82567335a3c88c1abbf9efc82d35e05d..3a09b739931541ba4b2378251f99088671104608 100755 (executable)
@@ -1532,7 +1532,7 @@ EOF
 }
 
 # now get a handle to the database:
-my $dbh = Bugzilla::DB::connect_main();
+my $dbh = Bugzilla->dbh;
 
 END { $dbh->disconnect if $dbh }