summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2003-10-07 05:50:02 +0000
committerivan <ivan>2003-10-07 05:50:02 +0000
commit9334e9215f704ea4bc60f952da57df069d3bcf68 (patch)
tree6fb0ec827bc0bc91dc9d5ece2b88b00ef380de7a
parent368c80288be54e8971ab4fd2592ba13da83d9982 (diff)
add suspend and unsuspend hooks, don't try and set '*SUSPENDED*' passwords
-rw-r--r--FS/FS/part_export/communigate_pro.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/part_export/communigate_pro.pm b/FS/FS/part_export/communigate_pro.pm
index 35c7fbf41..a9d9591ca 100644
--- a/FS/FS/part_export/communigate_pro.pm
+++ b/FS/FS/part_export/communigate_pro.pm
@@ -39,6 +39,8 @@ sub _export_replace {
|| $old->finger ne $new->finger
|| $old->quota ne $new->quota;
+ return '' if '*SUSPENDED* '. $old->_password eq $new->_password;
+
#my $err_or_queue = $self->communigate_pro_queue( $new->svcnum,'RenameAccount',
# $old->email, $new->email );
#return $err_or_queue unless ref($err_or_queue);