diff options
author | ivan <ivan> | 2004-01-30 03:05:59 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-01-30 03:05:59 +0000 |
commit | 77d3558bd525d7372d2c94213ba8848ed36631aa (patch) | |
tree | 4a96c08cb6b621933afdc986ea8f63fb6ef774c4 | |
parent | 22744fc3e34aaa5436723c419c91e29fb9ffc304 (diff) |
don't prepend *SUSPENDED* to passwords to suspend an account
-rw-r--r-- | FS/FS/svc_acct.pm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 3ddd70a93..9d8566d77 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -619,16 +619,6 @@ Called by the suspend method of FS::cust_pkg (see L<FS::cust_pkg>). sub suspend { my $self = shift; return "can't suspend system account" if $self->_check_system; - my %hash = $self->hash; - unless ( $hash{_password} =~ /^\*SUSPENDED\* / - || $hash{_password} eq '*' - ) { - $hash{_password} = '*SUSPENDED* '.$hash{_password}; - my $new = new FS::svc_acct ( \%hash ); - my $error = $new->replace($self); - return $error if $error; - } - $self->SUPER::suspend; } |