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 --- editmilestones.cgi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'editmilestones.cgi') diff --git a/editmilestones.cgi b/editmilestones.cgi index 3e484bbfc..3ca7ea998 100755 --- a/editmilestones.cgi +++ b/editmilestones.cgi @@ -80,12 +80,9 @@ my $product = Bugzilla::Product::check_product($product_name); unless ($action) { - my @milestones = - Bugzilla::Milestone::get_milestones_by_product($product->id); - $vars->{'showbugcounts'} = $showbugcounts; $vars->{'product'} = $product->name; - $vars->{'milestones'} = \@milestones; + $vars->{'milestones'} = $product->milestones; $vars->{'default_milestone'} = $product->default_milestone; $template->process("admin/milestones/list.html.tmpl", $vars) -- cgit v1.2.3-24-g4f1b