From fa9b63f55b3118a30ff641d0e386266eb877e258 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Fri, 25 Feb 2005 07:42:47 +0000 Subject: Bug 283237: Move DBname_to_id out of globals.pl Patch By Max Kanat-Alexander r=wurblzap, a=myk --- Bugzilla/Search.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Search.pm') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 8a08ef618..aedb2b2b4 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -41,6 +41,7 @@ use Bugzilla::Error; use Bugzilla::Util; use Bugzilla::Constants; use Bugzilla::Group; +use Bugzilla::User; use Date::Format; use Date::Parse; @@ -1414,7 +1415,7 @@ sub ListIDsForEmail { if ($type eq 'anyexact') { foreach my $w (split(/,/, $email)) { $w = trim($w); - my $id = &::DBname_to_id($w); + my $id = login_to_id($w); if ($id > 0) { push(@list,$id) } -- cgit v1.2.3-24-g4f1b