summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2003-06-03 12:41:50 +0000
committerivan <ivan>2003-06-03 12:41:50 +0000
commit978b435880e71f6a4765525ea9797b7dc65bd625 (patch)
tree4330397a286a7cb073e590d7f2a3dd14536ac1f8
parent80fd40b3a6cfa53d7dee30dfaa61d89c2075a7c7 (diff)
minor update to cp export - eliminate redundant "host" parameter
-rw-r--r--FS/FS/part_export.pm1
-rw-r--r--FS/FS/part_export/cp.pm2
2 files changed, 1 insertions, 2 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index 9a1b9d864..06fab6ad1 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -692,7 +692,6 @@ tie my %cyrus_options, 'Tie::IxHash',
;
tie my %cp_options, 'Tie::IxHash',
- 'host' => { label=>'Hostname' },
'port' => { label=>'Port number' },
'username' => { label=>'Username' },
'password' => { label=>'Password' },
diff --git a/FS/FS/part_export/cp.pm b/FS/FS/part_export/cp.pm
index d998c1d95..c37dc3b98 100644
--- a/FS/FS/part_export/cp.pm
+++ b/FS/FS/part_export/cp.pm
@@ -42,7 +42,7 @@ sub cp_queue {
'job' => 'FS::part_export::cp::cp_command',
};
$queue->insert(
- $self->option('host'),
+ $self->machine,
$self->option('port'),
$self->option('username'),
$self->option('password'),