From f08f3ff5a6711cf0a8b551067933eca67d48b5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 16 Feb 2015 22:25:00 +0100 Subject: Remove obsolete translate_product subroutine from Mandriva times --- mgaonline.pm | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'mgaonline.pm') diff --git a/mgaonline.pm b/mgaonline.pm index 62b7fe4a..f2018d50 100644 --- a/mgaonline.pm +++ b/mgaonline.pm @@ -46,7 +46,6 @@ our @EXPORT = qw(find_current_distro get_stale_upgrade_filename get_urpmi_options read_sys_config - translate_product xml2perl %config $config_file @@ -139,18 +138,6 @@ sub fork_exec { run_program::raw({ detach => 1 }, @_); } -sub translate_product { - my ($o_product) = @_; - my %strings = ( - flash => N("Mageia Flash"), - free => N("Mageia Free"), - mini => N("Mageia Mini"), - one => N("Mageia One"), - ); - $o_product ||= lc $product_id->{product}; - $strings{$o_product} || $o_product; -} - # TODO Move all product.id handling to a separate module # (MDV::ProductId?) sub get_product_info { -- cgit v1.2.1