aboutsummaryrefslogtreecommitdiffstats
path: root/editversions.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-10-07 01:45:46 +0000
committermkanat%kerio.com <>2005-10-07 01:45:46 +0000
commitaf7d21349fe822fc6517cab76b37bed3e8caeebe (patch)
treea4f6380ad76f3ec2fe0fc0cf7545189a611f7085 /editversions.cgi
parentb808272b74ab202b17964fbb64b189e4b912ec2b (diff)
downloadbugs-af7d21349fe822fc6517cab76b37bed3e8caeebe.tar
bugs-af7d21349fe822fc6517cab76b37bed3e8caeebe.tar.gz
bugs-af7d21349fe822fc6517cab76b37bed3e8caeebe.tar.bz2
bugs-af7d21349fe822fc6517cab76b37bed3e8caeebe.tar.xz
bugs-af7d21349fe822fc6517cab76b37bed3e8caeebe.zip
Bug 309749: Remove get_x_by_y functions from the new .pm files, in favor of object methods
Patch By André Batosti <batosti@async.com.br> r=LpSolit, a=justdave
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-xeditversions.cgi5
1 files changed, 1 insertions, 4 deletions
diff --git a/editversions.cgi b/editversions.cgi
index d29e4d850..bc7420b19 100755
--- a/editversions.cgi
+++ b/editversions.cgi
@@ -88,12 +88,9 @@ my $product = Bugzilla::Product::check_product($product_name);
#
unless ($action) {
- my @versions =
- Bugzilla::Version::get_versions_by_product($product->id);
-
$vars->{'showbugcounts'} = $showbugcounts;
$vars->{'product'} = $product->name;
- $vars->{'versions'} = \@versions;
+ $vars->{'versions'} = $product->versions;
$template->process("admin/versions/list.html.tmpl",
$vars)
|| ThrowTemplateError($template->error());