summaryrefslogtreecommitdiffstats
path: root/editmilestones.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-10-07 03:45:46 +0200
committermkanat%kerio.com <>2005-10-07 03:45:46 +0200
commitaf7d21349fe822fc6517cab76b37bed3e8caeebe (patch)
treea4f6380ad76f3ec2fe0fc0cf7545189a611f7085 /editmilestones.cgi
parentb808272b74ab202b17964fbb64b189e4b912ec2b (diff)
downloadbugzilla-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 'editmilestones.cgi')
-rwxr-xr-xeditmilestones.cgi5
1 files changed, 1 insertions, 4 deletions
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)