X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Facct_plesk.pm;h=50b6faebfedf6e23282e7c2facaa7b78187806c0;hb=38e34bbc53a4222c7507e95914e1364a5a74623f;hp=0a8525131dd7dba86ef9e0e12ed07609f4be14d3;hpb=a3dd2b1aee1ba998336ad5a3459ad9f0b171a525;p=freeside.git diff --git a/FS/FS/part_export/acct_plesk.pm b/FS/FS/part_export/acct_plesk.pm index 0a8525131..50b6faebf 100644 --- a/FS/FS/part_export/acct_plesk.pm +++ b/FS/FS/part_export/acct_plesk.pm @@ -15,15 +15,17 @@ tie my %options, 'Tie::IxHash', ; %info = ( - 'svc' => 'svc_acct', - 'desc' => 'Real-time export to Plesk managed mail service', - 'options'=> \%options, + 'svc' => 'svc_acct', + 'desc' => 'Real-time export to Plesk managed mail service', + 'options' => \%options, + 'no_machine' => 1, + 'default_svc_class' => 'Email', 'notes' => <<'END' Real-time export to Plesk managed server. Requires installation of Net::Plesk -from CPAN. +from CPAN and proper configuration. END ); @@ -60,7 +62,7 @@ sub _plesk_command { ); my $dresponse = $plesk->domain_get( $domain ); - return $dresponse->error unless $dresponse->is_success; + return $dresponse->errortext unless $dresponse->is_success; my $domainID = $dresponse->id; my $response = $plesk->$method($dresponse->id, @args);