diff options
author | lpsolit%gmail.com <> | 2005-10-31 05:31:27 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-31 05:31:27 +0000 |
commit | 1254fcb8c43defcbce99713f5cd85a104670895e (patch) | |
tree | 3b842a5b96f429d0db2d5ade3ba409cf1fae7e5a /editproducts.cgi | |
parent | cf3aa532ea51a41b02c8ea73db254d01c03280ba (diff) | |
download | bugs-1254fcb8c43defcbce99713f5cd85a104670895e.tar bugs-1254fcb8c43defcbce99713f5cd85a104670895e.tar.gz bugs-1254fcb8c43defcbce99713f5cd85a104670895e.tar.bz2 bugs-1254fcb8c43defcbce99713f5cd85a104670895e.tar.xz bugs-1254fcb8c43defcbce99713f5cd85a104670895e.zip |
Bug 304075: Eliminate use of $::userid from Bugzilla - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index 9195dfe09..7b2123697 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -304,7 +304,7 @@ if ($action eq 'new') { foreach my $sdata (@series) { my $series = new Bugzilla::Series(undef, $product->name, scalar $cgi->param('subcategory'), - $sdata->[0], $::userid, 1, + $sdata->[0], $whoid, 1, $sdata->[1] . "&product=" . url_quote($product->name), 1); $series->writeToDatabase(); @@ -652,7 +652,7 @@ if ($action eq 'updategroupcontrols') { $dbh->selectrow_array($sth_Select2, undef, $groupid); LogActivityEntry($bugid, "bug_group", $removed, "", - $::userid, $timestamp); + $whoid, $timestamp); if ($mailiscurrent) { $sth_Update2->execute($timestamp, $timestamp, $bugid); @@ -695,7 +695,7 @@ if ($action eq 'updategroupcontrols') { $dbh->selectrow_array($sth_Select2, undef, $groupid); LogActivityEntry($bugid, "bug_group", "", $added, - $::userid, $timestamp); + $whoid, $timestamp); if ($mailiscurrent) { $sth_Update2->execute($timestamp, $timestamp, $bugid); |