summaryrefslogtreecommitdiffstats
path: root/editcomponents.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 /editcomponents.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 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi5
1 files changed, 1 insertions, 4 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 096570d82..5b5333e31 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -92,12 +92,9 @@ my $product = Bugzilla::Product::check_product($product_name);
unless ($action) {
- my @components =
- Bugzilla::Component::get_components_by_product($product->id);
-
$vars->{'showbugcounts'} = $showbugcounts;
$vars->{'product'} = $product->name;
- $vars->{'components'} = \@components;
+ $vars->{'components'} = $product->components;
$template->process("admin/components/list.html.tmpl", $vars)
|| ThrowTemplateError($template->error());