summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Flag.pm
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-02-25 08:42:47 +0100
committermkanat%kerio.com <>2005-02-25 08:42:47 +0100
commitfa9b63f55b3118a30ff641d0e386266eb877e258 (patch)
treea388e3577fef067abe83e94bbdb52428e442b35b /Bugzilla/Flag.pm
parent63dde60072374b2f7ef2f756d4ab9dff66669793 (diff)
downloadbugzilla-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/Flag.pm')
-rw-r--r--Bugzilla/Flag.pm4
1 files changed, 2 insertions, 2 deletions
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);
}
}