X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Facct_sql.pm;h=8163f2017f72bd1960fc0f75d53248a2bd6c790e;hb=1a320aa8f679a355bd3678ccceb5d7ecf7b0aeba;hp=fa17afe169f7f77ff3b7f3156051ae8f15ca0749;hpb=99040eb2bf5ab50bf3e4af138b5d5a7d8d04a333;p=freeside.git diff --git a/FS/FS/part_export/acct_sql.pm b/FS/FS/part_export/acct_sql.pm index fa17afe16..8163f2017 100644 --- a/FS/FS/part_export/acct_sql.pm +++ b/FS/FS/part_export/acct_sql.pm @@ -3,9 +3,10 @@ use base qw( FS::part_export::sql_Common ); use strict; use vars qw( %info ); +use Tie::IxHash; use FS::Record; #qw(qsearchs); -my %options = __PACKAGE__->sql_options; +tie my %options, 'Tie::IxHash', %{__PACKAGE__->sql_options}; $options{'crypt'} = { label => 'Password encryption', type=>'select', options=>[qw(crypt md5 sha1_base64)], default=>'crypt', @@ -59,11 +60,13 @@ my $postfix_native_mailbox_map = keys %postfix_native_mailbox_map ); %info = ( - 'svc' => 'svc_acct', - 'desc' => 'Real-time export of accounts to SQL databases '. - '(vpopmail, Postfix+Courier IMAP, others?)', - 'options' => \%options, - 'nodomain' => '', + 'svc' => 'svc_acct', + 'desc' => 'Real-time export of accounts to SQL databases '. + '(vpopmail, Postfix+Courier IMAP, others?)', + 'options' => \%options, + 'nodomain' => '', + 'no_machine' => 1, + 'default_svc_class' => 'Email', 'notes' => <