diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-02-20 14:40:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-02-20 14:40:28 +0000 |
commit | 299583692c50b33466f909dc84a9fe82e9e41d86 (patch) | |
tree | c7d73504b853be8f565dd50724ed05f7aad8a367 | |
parent | aae9046865f39e67eabd2af8911b4fe72f788abb (diff) | |
download | drakx-299583692c50b33466f909dc84a9fe82e9e41d86.tar drakx-299583692c50b33466f909dc84a9fe82e9e41d86.tar.gz drakx-299583692c50b33466f909dc84a9fe82e9e41d86.tar.bz2 drakx-299583692c50b33466f909dc84a9fe82e9e41d86.tar.xz drakx-299583692c50b33466f909dc84a9fe82e9e41d86.zip |
(_url_respect_privacy) kill it (replaced by urpm::download::url_obscuring_password())
-rw-r--r-- | perl-install/install/media.pm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm index 1c49076da..aa0b1cd23 100644 --- a/perl-install/install/media.pm +++ b/perl-install/install/media.pm @@ -141,15 +141,9 @@ sub umount_media { umount_phys_medium($_) foreach grep { $_ } map { $_->{loopback_device} } @l; } -sub _url_respect_privacy { - my ($url) = @_; - - $url =~ s!ftp://.*?\@!ftp://xxx@!; - $url; -} sub phys_medium_to_string { my ($phys_m) = @_; - _url_respect_privacy($phys_m->{url}) . ($phys_m->{name} ? " ($phys_m->{name})" : ''); + urpm::download::url_obscuring_password($phys_m->{url}) . ($phys_m->{name} ? " ($phys_m->{name})" : ''); } sub _stage2_mounted_medium { |