From: mkanat%bugzilla.org <> Date: Fri, 4 Aug 2006 07:25:31 +0000 (+0000) Subject: Bug 344647: checksetup.pl can create two database connections instead of one X-Git-Tag: bugzilla-2.22.1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=153836f4b6e8b0d9a013ce9bb4e8253b573bae32;p=thirdparty%2Fbugzilla.git Bug 344647: checksetup.pl can create two database connections instead of one Patch By Max Kanat-Alexander r=LpSolit, r=bkor, a=myk --- 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 }