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

checksetup.pl

index 5780d06d547e71fe871bacd790b528dddc8a313d..482528a517208514974ccfa767481c13cf4d6b1d 100755 (executable)
@@ -1550,7 +1550,7 @@ EOF
 }
 
 # now get a handle to the database:
-my $dbh = Bugzilla::DB::connect_main();
+my $dbh = Bugzilla->dbh;
 
 END { $dbh->disconnect if $dbh }