diff options
author | lpsolit%gmail.com <> | 2006-06-20 05:15:17 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-06-20 05:15:17 +0200 |
commit | 2545c0950c4f0fde8f78b265217fa9f523eff7bf (patch) | |
tree | 5bb305644ad11da196c7613b82743e426e2fd337 /buglist.cgi | |
parent | b687ddef9b6dfeec3d87b7ae211decbf21b6e9a9 (diff) | |
download | bugzilla-2545c0950c4f0fde8f78b265217fa9f523eff7bf.tar.gz bugzilla-2545c0950c4f0fde8f78b265217fa9f523eff7bf.tar.xz |
Bug 304601: Bugzilla::Config's :locations exports need to be in their own module - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat for the main patch, r=myk for the patch about CGI.pm a=justdave
Bug 328637: Remove all legal_* versioncache arrays - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Bug 110503 - Eliminate versioncache
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/buglist.cgi b/buglist.cgi index 570ef116e..8465cae32 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -42,15 +42,11 @@ use Bugzilla::User; use Bugzilla::Bug; use Bugzilla::Product; use Bugzilla::Keyword; +use Bugzilla::Field; # Include the Bugzilla CGI and general utility library. require "globals.pl"; -use vars qw(@legal_platform - @legal_priority - @legal_severity - @settable_resolution); - my $cgi = Bugzilla->cgi; my $dbh = Bugzilla->dbh; my $template = Bugzilla->template; @@ -90,7 +86,6 @@ if ($dotweak) { || ThrowUserError("auth_failure", {group => "editbugs", action => "modify", object => "multiple_bugs"}); - GetVersionTable(); } # Hack to support legacy applications that think the RDF ctype is at format=rdf. @@ -1042,11 +1037,11 @@ if ($dotweak) { $vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count(); $vars->{'products'} = Bugzilla->user->get_enterable_products; - $vars->{'platforms'} = \@::legal_platform; - $vars->{'op_sys'} = \@::legal_opsys; - $vars->{'priorities'} = \@::legal_priority; - $vars->{'severities'} = \@::legal_severity; - $vars->{'resolutions'} = \@::settable_resolution; + $vars->{'platforms'} = get_legal_field_values('rep_platform'); + $vars->{'op_sys'} = get_legal_field_values('op_sys'); + $vars->{'priorities'} = get_legal_field_values('priority'); + $vars->{'severities'} = get_legal_field_values('bug_severity'); + $vars->{'resolutions'} = Bugzilla::Bug->settable_resolutions; $vars->{'unconfirmedstate'} = 'UNCONFIRMED'; |