diff options
Diffstat (limited to 'mgaonline.pm')
-rw-r--r-- | mgaonline.pm | 13 |
1 files changed, 0 insertions, 13 deletions
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 { |