aboutsummaryrefslogtreecommitdiffstats
path: root/colchange.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-04 04:26:20 +0000
committermkanat%bugzilla.org <>2006-07-04 04:26:20 +0000
commitb1f4cf8bdc4b49c02ebebbee2553202bc46ab720 (patch)
tree8dddf198fa0cb29b5cef3833ff3469f07d34fdf7 /colchange.cgi
parent49979b3775108f709cefbc9190eb9c7546aace94 (diff)
downloadbugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar
bugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.gz
bugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.bz2
bugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.xz
bugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.zip
Bug 342869: Use Bugzilla->params everywhere except templates
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'colchange.cgi')
-rwxr-xr-xcolchange.cgi16
1 files changed, 8 insertions, 8 deletions
diff --git a/colchange.cgi b/colchange.cgi
index 857b85063..6d737d5c7 100755
--- a/colchange.cgi
+++ b/colchange.cgi
@@ -45,33 +45,33 @@ my @masterlist = ("opendate", "changeddate", "bug_severity", "priority",
"reporter", "reporter_realname", "bug_status",
"resolution");
-if (Param("useclassification")) {
+if (Bugzilla->params->{"useclassification"}) {
push(@masterlist, "classification");
}
push(@masterlist, ("product", "component", "version", "op_sys"));
-if (Param("usevotes")) {
+if (Bugzilla->params->{"usevotes"}) {
push (@masterlist, "votes");
}
-if (Param("usebugaliases")) {
+if (Bugzilla->params->{"usebugaliases"}) {
unshift(@masterlist, "alias");
}
-if (Param("usetargetmilestone")) {
+if (Bugzilla->params->{"usetargetmilestone"}) {
push(@masterlist, "target_milestone");
}
-if (Param("useqacontact")) {
+if (Bugzilla->params->{"useqacontact"}) {
push(@masterlist, "qa_contact");
push(@masterlist, "qa_contact_realname");
}
-if (Param("usestatuswhiteboard")) {
+if (Bugzilla->params->{"usestatuswhiteboard"}) {
push(@masterlist, "status_whiteboard");
}
if (Bugzilla::Keyword::keyword_count()) {
push(@masterlist, "keywords");
}
-if (UserInGroup(Param("timetrackinggroup"))) {
+if (UserInGroup(Bugzilla->params->{"timetrackinggroup"})) {
push(@masterlist, ("estimated_time", "remaining_time", "actual_time",
"percentage_complete", "deadline"));
}
@@ -96,7 +96,7 @@ if (defined $cgi->param('rememberedquery')) {
}
}
my $list = join(" ", @collist);
- my $urlbase = Param("urlbase");
+ my $urlbase = Bugzilla->params->{"urlbase"};
if ($list) {
$cgi->send_cookie(-name => 'COLUMNLIST',