diff options
author | mkanat%kerio.com <> | 2005-10-07 03:45:46 +0200 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-10-07 03:45:46 +0200 |
commit | af7d21349fe822fc6517cab76b37bed3e8caeebe (patch) | |
tree | a4f6380ad76f3ec2fe0fc0cf7545189a611f7085 /editversions.cgi | |
parent | b808272b74ab202b17964fbb64b189e4b912ec2b (diff) | |
download | bugzilla-af7d21349fe822fc6517cab76b37bed3e8caeebe.tar.gz bugzilla-af7d21349fe822fc6517cab76b37bed3e8caeebe.tar.xz |
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-x | editversions.cgi | 5 |
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()); |