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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
4885c456
Commit
4885c456
authored
Feb 27, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 283576: DBID_to_real_or_loginname is dead code
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap, a=justdave
parent
1355d45b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
globals.pl
globals.pl
+0
-13
No files found.
globals.pl
View file @
4885c456
...
...
@@ -621,19 +621,6 @@ sub ValidatePassword {
}
}
sub
DBID_to_real_or_loginname
{
my
(
$id
)
=
(
@_
);
PushGlobalSQLState
();
SendSQL
(
"SELECT login_name,realname FROM profiles WHERE userid = $id"
);
my
(
$l
,
$r
)
=
FetchSQLData
();
PopGlobalSQLState
();
if
(
!
defined
$r
||
$r
eq
""
)
{
return
$l
;
}
else
{
return
"$l ($r)"
;
}
}
sub
DBID_to_name
{
my
(
$id
)
=
(
@_
);
# $id should always be a positive integer
...
...
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