summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-20 02:30:23 +0200
committerlpsolit%gmail.com <>2006-06-20 02:30:23 +0200
commita97d48ec24e5e7d931bd8a0dc39c597ce758d106 (patch)
tree286ae60acc70da143f2c662a4949dd144120263d /process_bug.cgi
parent5510427a679157e889aa1bb170e2b9254aed6c49 (diff)
downloadbugzilla-a97d48ec24e5e7d931bd8a0dc39c597ce758d106.tar.gz
bugzilla-a97d48ec24e5e7d931bd8a0dc39c597ce758d106.tar.xz
Bug 338793: Remove DBID_to_name() from globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=vladd a=justdave
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi14
1 files changed, 7 insertions, 7 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 3541650f3..ca72015a2 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1587,8 +1587,8 @@ foreach my $id (@idlist) {
$vars->{'field'} = 'component';
} elsif ($col eq 'assigned_to' || $col eq 'qa_contact') {
# Display the assignee or QA contact email address
- $vars->{'oldvalue'} = DBID_to_name($oldhash{$col});
- $vars->{'newvalue'} = DBID_to_name($formhash{$col});
+ $vars->{'oldvalue'} = user_id_to_login($oldhash{$col});
+ $vars->{'newvalue'} = user_id_to_login($formhash{$col});
$vars->{'field'} = $col;
} else {
$vars->{'oldvalue'} = $oldhash{$col};
@@ -2085,16 +2085,16 @@ foreach my $id (@idlist) {
# the old assignee can be notified
#
if ($col eq 'assigned_to') {
- $old = ($old) ? DBID_to_name($old) : "";
- $new = ($new) ? DBID_to_name($new) : "";
+ $old = ($old) ? user_id_to_login($old) : "";
+ $new = ($new) ? user_id_to_login($new) : "";
$origOwner = $old;
}
# ditto for the old qa contact
#
if ($col eq 'qa_contact') {
- $old = ($old) ? DBID_to_name($old) : "";
- $new = ($new) ? DBID_to_name($new) : "";
+ $old = ($old) ? user_id_to_login($old) : "";
+ $new = ($new) ? user_id_to_login($new) : "";
$origQaContact = $old;
}
@@ -2154,7 +2154,7 @@ foreach my $id (@idlist) {
|| !$cgi->param('confirm_add_duplicate')) {
# The reporter is oblivious to the existence of the new bug and is permitted access
# ... add 'em to the cc (and record activity)
- LogActivityEntry($duplicate,"cc","",DBID_to_name($reporter),
+ LogActivityEntry($duplicate,"cc","",user_id_to_login($reporter),
$whoid,$timestamp);
$dbh->do(q{INSERT INTO cc (who, bug_id) VALUES (?, ?)},
undef, $reporter, $duplicate);