Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
827b8281
Commit
827b8281
authored
Jun 23, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 150153 - ConnectToDatabase/quietly_check_login issues pt 2
r=jouni x2
parent
106f7157
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
CGI.pl
CGI.pl
+0
-2
globals.pl
globals.pl
+0
-6
No files found.
CGI.pl
View file @
827b8281
...
...
@@ -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
...
...
globals.pl
View file @
827b8281
...
...
@@ -438,7 +438,6 @@ sub GenerateArrayCode {
sub
GenerateVersionTable
{
ConnectToDatabase
();
SendSQL
(
"select value, program from versions order by value"
);
my
@line
;
my
%
varray
;
...
...
@@ -1251,7 +1250,6 @@ sub UserInGroup {
if
(
$::usergroupset
eq
"0"
)
{
return
0
;
}
ConnectToDatabase
();
PushGlobalSQLState
();
SendSQL
(
"select (bit & $::usergroupset) != 0 from groups where name = "
.
SqlQuote
(
$groupname
));
my
$bit
=
FetchOneColumn
();
...
...
@@ -1274,7 +1272,6 @@ sub BugInGroup {
sub
GroupExists
{
my
(
$groupname
)
=
(
@_
);
ConnectToDatabase
();
PushGlobalSQLState
();
SendSQL
(
"select count(*) from groups where name="
.
SqlQuote
(
$groupname
));
my
$count
=
FetchOneColumn
();
...
...
@@ -1287,7 +1284,6 @@ sub GroupExists {
# !!! Remove this function when the new group system is implemented!
sub
GroupNameToBit
{
my
(
$groupname
)
=
(
@_
);
ConnectToDatabase
();
PushGlobalSQLState
();
SendSQL
(
"SELECT bit FROM groups WHERE name = "
.
SqlQuote
(
$groupname
));
my
$bit
=
FetchOneColumn
()
||
0
;
...
...
@@ -1301,7 +1297,6 @@ sub GroupNameToBit {
sub
GroupIsActive
{
my
(
$groupbit
)
=
(
@_
);
$groupbit
||=
0
;
ConnectToDatabase
();
PushGlobalSQLState
();
SendSQL
(
"select isactive from groups where bit=$groupbit"
);
my
$isactive
=
FetchOneColumn
();
...
...
@@ -1331,7 +1326,6 @@ sub OpenStates {
sub
RemoveVotes
{
my
(
$id
,
$who
,
$reason
)
=
(
@_
);
ConnectToDatabase
();
my
$whopart
=
""
;
if
(
$who
)
{
$whopart
=
" AND votes.who = $who"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment