From 30593e1b11320b0006351db97766b8c93af728fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 16 Feb 2015 23:08:05 +0100 Subject: Remove apparently unused get_product_info subroutine --- mgaonline.pm | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'mgaonline.pm') diff --git a/mgaonline.pm b/mgaonline.pm index fb6dd250..7deefd2d 100644 --- a/mgaonline.pm +++ b/mgaonline.pm @@ -52,7 +52,6 @@ our @EXPORT = qw(find_current_distro $product_id $root); our @EXPORT_OK = qw( - get_product_info get_my_mdv_profile ); @@ -138,20 +137,6 @@ sub fork_exec { run_program::raw({ detach => 1 }, @_); } -# TODO Move all product.id handling to a separate module -# (MDV::ProductId?) -sub get_product_info { - my ($product) = @_; - my %info = ( - free => { - name => N("Mageia Free"), - description => N("The 100%% Open Source distribution freely available."), - }, - ); - $product ||= lc $product_id->{product}; - return $info{$product}; -} - sub get_banner_icon() { find { -e $_ } qw(/usr/share/mcc/themes/default/rpmdrake-mga.png /usr/share/icons/large/mgaonline.png); -- cgit v1.2.1