summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl13
1 files changed, 0 insertions, 13 deletions
diff --git a/globals.pl b/globals.pl
index 9ec915792..4fe0c2783 100644
--- a/globals.pl
+++ b/globals.pl
@@ -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