diff options
author | mkanat%kerio.com <> | 2005-02-27 10:09:50 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-02-27 10:09:50 +0100 |
commit | 4885c4563032a5c49faf667b03f70e9bddb939fb (patch) | |
tree | 8762ab1b81760dc02ad16fc7bd0e7bb2ff778763 /globals.pl | |
parent | 1355d45bdaf91cb4aa506166eb619c2729997bd6 (diff) | |
download | bugzilla-4885c4563032a5c49faf667b03f70e9bddb939fb.tar.gz bugzilla-4885c4563032a5c49faf667b03f70e9bddb939fb.tar.xz |
Bug 283576: DBID_to_real_or_loginname is dead code
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap, a=justdave
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 13 |
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 |