Closed
Bug 342410
Opened 18 years ago
Closed 18 years ago
Various modules assume functions are in global scope, when none are
Categories
(Bugzilla :: User Accounts, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: mkanat, Assigned: mkanat)
Details
Attachments
(1 file)
3.38 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
Bugzilla::User has a bunch of silly calls to &::Param, which is not a global function. Bugzilla::Chart has some calls to &::ThrowUserError, which is also not a global function.
Comment 2•18 years ago
|
||
Comment on attachment 226639 [details] [diff] [review] v1 process_bug.cgi also uses some constants as global: 1760: unless ($control > &::CONTROLMAPNA) { 1763: if ($control == &::CONTROLMAPMANDATORY) { Your patch looks good. r=LpSolit
Attachment #226639 -
Flags: review?(LpSolit) → review+
Updated•18 years ago
|
Status: NEW → ASSIGNED
Flags: approval?
Updated•18 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 3•18 years ago
|
||
Checking in Bugzilla/Chart.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Chart.pm,v <-- Chart.pm new revision: 1.13; previous revision: 1.12 done Checking in Bugzilla/User.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/User.pm,v <-- User.pm new revision: 1.113; previous revision: 1.112 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 4•18 years ago
|
||
Checked in on the Erbix branch: Checking in Bugzilla/Chart.pm; /cvs/erbix-code/Bugzilla/Chart.pm,v <-- Chart.pm new revision: 1.2; previous revision: 1.1 done Checking in Bugzilla/User.pm; /cvs/erbix-code/Bugzilla/User.pm,v <-- User.pm new revision: 1.2; previous revision: 1.1 done
You need to log in
before you can comment on or make changes to this bug.
Description
•