From 153836f4b6e8b0d9a013ce9bb4e8253b573bae32 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 4 Aug 2006 07:25:31 +0000 Subject: [PATCH] Bug 344647: checksetup.pl can create two database connections instead of one Patch By Max Kanat-Alexander r=LpSolit, r=bkor, a=myk --- checksetup.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checksetup.pl b/checksetup.pl index 5780d06d54..482528a517 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -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 } -- 2.47.2