From 1254fcb8c43defcbce99713f5cd85a104670895e Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 31 Oct 2005 05:31:27 +0000 Subject: Bug 304075: Eliminate use of $::userid from Bugzilla - Patch by Frédéric Buclin r=wicked a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editproducts.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editproducts.cgi') 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); -- cgit v1.2.3-24-g4f1b