From af7d21349fe822fc6517cab76b37bed3e8caeebe Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Fri, 7 Oct 2005 01:45:46 +0000 Subject: Bug 309749: Remove get_x_by_y functions from the new .pm files, in favor of object methods Patch By André Batosti r=LpSolit, a=justdave 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.3-24-g4f1b