diff options
author | ivan <ivan> | 2003-06-25 08:40:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-06-25 08:40:16 +0000 |
commit | b8956e0f375e56b05677d4ef4889edab3e01614b (patch) | |
tree | 3e28293cacc2acdb74b15dabc885d9b799e7b127 | |
parent | a1cf7fc75636ad0eb90e989cb6a933be8cd1b08b (diff) |
svc_acct doc update
cp export - disable old-style suspending
-rw-r--r-- | FS/FS/part_export/cp.pm | 20 | ||||
-rw-r--r-- | FS/FS/svc_acct.pm | 4 |
2 files changed, 15 insertions, 9 deletions
diff --git a/FS/FS/part_export/cp.pm b/FS/FS/part_export/cp.pm index ee5f54285..c4750dd5d 100644 --- a/FS/FS/part_export/cp.pm +++ b/FS/FS/part_export/cp.pm @@ -91,20 +91,22 @@ sub cp_command { #subroutine, not method ); } - my $other = 'F'; + #my $other = 'F'; if ( $new_password =~ /^\*SUSPENDED\* (.*)$/ ) { $new_password = $1; - $other = 'T'; + # $other = 'T'; } - cp_command($host, $port, $username, $password, 'set_mailbox_status', - Domain => $domain, - Mailbox => $new_username, - Other => $other, - Other_Bounce => $other, - ); + #cp_command($host, $port, $username, $password, $login_domain, + # 'set_mailbox_status', + # Domain => $domain, + # Mailbox => $new_username, + # Other => $other, + # Other_Bounce => $other, + #); if ( $old_password ne $new_password ) { - cp_command($host, $port, $username, $password, 'change_mailbox', + cp_command($host, $port, $username, $password, $login_domain, + 'change_mailbox', Domain => $domain, Mailbox => $new_username, Password => $new_password, diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 7be4a71e2..14e18442f 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -612,6 +612,8 @@ error, returns the error, otherwise returns false. Called by the suspend method of FS::cust_pkg (see L<FS::cust_pkg>). +Calls any export-specific suspend hooks. + =cut sub suspend { @@ -636,6 +638,8 @@ an error, returns the error, otherwise returns false. Called by the unsuspend method of FS::cust_pkg (see L<FS::cust_pkg>). +Calls any export-specific unsuspend hooks. + =cut sub unsuspend { |