summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'),