From 827b828164394eb38ed4ef5eb0df99e8797021b1 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Sun, 23 Jun 2002 07:46:08 +0000 Subject: Bug 150153 - ConnectToDatabase/quietly_check_login issues pt 2 r=jouni x2 --- CGI.pl | 2 -- 1 file changed, 2 deletions(-) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index 04a683a47..ea305db53 100644 --- a/CGI.pl +++ b/CGI.pl @@ -442,7 +442,6 @@ sub quietly_check_login() { $::userid = 0; if (defined $::COOKIE{"Bugzilla_login"} && defined $::COOKIE{"Bugzilla_logincookie"}) { - ConnectToDatabase(); SendSQL("SELECT profiles.userid, profiles.groupset, " . "profiles.login_name, " . "profiles.login_name = " . @@ -559,7 +558,6 @@ sub confirm_login { # Uncommenting the next line can help debugging... # print "Content-type: text/plain\n\n"; - ConnectToDatabase(); # I'm going to reorganize some of this stuff a bit. Since we're adding # a second possible validation method (LDAP), we need to move some of this # to a later section. -Joe Robins, 8/3/00 -- cgit v1.2.3-24-g4f1b