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/Flag.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Flag.pm') diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index ffed79bde..4b5f76fb0 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -449,7 +449,7 @@ sub modify { # Get the requestee, if any. my $requestee_id = "NULL"; if ($requestee_email) { - $requestee_id = &::DBname_to_id($requestee_email); + $requestee_id = login_to_id($requestee_email); $flag->{'requestee'} = new Bugzilla::User($requestee_id); } @@ -531,7 +531,7 @@ sub FormToNewFlags { if ($status eq "?") { my $requestee = $data->{"requestee_type-$type_id"}; if ($requestee) { - my $requestee_id = &::DBname_to_id($requestee); + my $requestee_id = login_to_id($requestee); $flag->{'requestee'} = new Bugzilla::User($requestee_id); } } -- cgit v1.2.3-24-g4f1b