diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2015-02-16 22:25:00 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2015-02-16 22:25:00 +0100 |
commit | f08f3ff5a6711cf0a8b551067933eca67d48b5f9 (patch) | |
tree | 81650e508aaa5db93e1aad481634b7e380300331 /mgaonline.pm | |
parent | 2f6a212af3b2805a2d2677175dadd71380ee273f (diff) | |
download | mgaonline-f08f3ff5a6711cf0a8b551067933eca67d48b5f9.tar mgaonline-f08f3ff5a6711cf0a8b551067933eca67d48b5f9.tar.gz mgaonline-f08f3ff5a6711cf0a8b551067933eca67d48b5f9.tar.bz2 mgaonline-f08f3ff5a6711cf0a8b551067933eca67d48b5f9.tar.xz mgaonline-f08f3ff5a6711cf0a8b551067933eca67d48b5f9.zip |
Remove obsolete translate_product subroutine from Mandriva times
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 { |