From af7d21349fe822fc6517cab76b37bed3e8caeebe Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Fri, 7 Oct 2005 01:45:46 +0000 Subject: =?UTF-8?q?Bug=20309749:=20Remove=20get=5Fx=5Fby=5Fy=20functions?= =?UTF-8?q?=20from=20the=20new=20.pm=20files,=20in=20favor=20of=20object?= =?UTF-8?q?=20methods=20Patch=20By=20Andr=C3=83=C2=A9=20Batosti=20=20r=3DLpSolit,=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editversions.cgi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'editversions.cgi') 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()); -- cgit v1.2.1