summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:45:34 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:45:34 +0000
commit5a5f52175223b8a13a323797ac7d9c87492c2955 (patch)
treeb5dee3c1830021799cdd7b2b099aa5c341fac461
parent3bfac162fb8f3d65ac51fdad5838b17364175ea6 (diff)
downloadurpmi-5a5f52175223b8a13a323797ac7d9c87492c2955.tar
urpmi-5a5f52175223b8a13a323797ac7d9c87492c2955.tar.gz
urpmi-5a5f52175223b8a13a323797ac7d9c87492c2955.tar.bz2
urpmi-5a5f52175223b8a13a323797ac7d9c87492c2955.tar.xz
urpmi-5a5f52175223b8a13a323797ac7d9c87492c2955.zip
(urpm::download::sync) drop it (it was obsoleted years ago)
-rw-r--r--NEWS1
-rw-r--r--urpm/download.pm15
2 files changed, 1 insertions, 15 deletions
diff --git a/NEWS b/NEWS
index ad81710a..93eef238 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- fix testsuite
- library:
+ o drop urpm::download::sync() (obsolete for years)
o enhanced doc
o internal cleanup (needs new drakx/rpmdrake)
- security:
diff --git a/urpm/download.pm b/urpm/download.pm
index d13f844a..37100c9b 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -965,21 +965,6 @@ sub sync_rel_to {
$result_file;
}
-#- deprecated, use sync_url() or sync_rel() instead
-#-
-#- $medium can be undef
-#- known options: quiet, resume, callback, ask_retry
-sub sync {
- my ($urpm, $medium, $files, %options) = @_;
-
- if ($medium) {
- $urpm->{error}("deprecated urpm::download::sync() called with a medium, this is not handled anymore, not using the medium and only taking the protocol into account");
- }
- sync_url($urpm, $_, %options) or return foreach @$files;
- 1;
-}
-
-
=item get_content($urpm, $url, %o_options)
Retrieve a file and return its content.