diff options
author | mkanat%kerio.com <> | 2005-02-25 08:42:47 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-02-25 08:42:47 +0100 |
commit | fa9b63f55b3118a30ff641d0e386266eb877e258 (patch) | |
tree | a388e3577fef067abe83e94bbdb52428e442b35b /Bugzilla/Search.pm | |
parent | 63dde60072374b2f7ef2f756d4ab9dff66669793 (diff) | |
download | bugzilla-fa9b63f55b3118a30ff641d0e386266eb877e258.tar.gz bugzilla-fa9b63f55b3118a30ff641d0e386266eb877e258.tar.xz |
Bug 283237: Move DBname_to_id out of globals.pl
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap, a=myk
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r-- | Bugzilla/Search.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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) } |