summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm15
1 files changed, 0 insertions, 15 deletions
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.