projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1cd0fc7
)
correctly disable/enable accounts @ CP
author
ivan
<ivan>
Fri, 22 Feb 2002 09:01:08 +0000
(09:01 +0000)
committer
ivan
<ivan>
Fri, 22 Feb 2002 09:01:08 +0000
(09:01 +0000)
FS/FS/svc_acct.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
314a752
..
b90cbe8
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-843,12
+843,16
@@
sub cp_change {
if ( $password =~ /^\*SUSPENDED\* (.*)$/ ) {
$password = $1;
$app->set_mailbox_status(
if ( $password =~ /^\*SUSPENDED\* (.*)$/ ) {
$password = $1;
$app->set_mailbox_status(
- Other => 'T',
+ Domain => $mydomain,
+ Mailbox => $username,
+ Other => 'T',
Other_Bounce => 'T',
);
} else {
$app->set_mailbox_status(
Other_Bounce => 'T',
);
} else {
$app->set_mailbox_status(
- Other => 'F',
+ Domain => $mydomain,
+ Mailbox => $username,
+ Other => 'F',
Other_Bounce => 'F',
);
}
Other_Bounce => 'F',
);
}