[freeside-commits] branch master updated. 446865fcba43deb85beb4f703a1f768816201d0b
Jeremy Davis
jeremyd at 420.am
Tue Nov 4 07:24:19 PST 2014
The branch, master has been updated
via 446865fcba43deb85beb4f703a1f768816201d0b (commit)
from c8be0008fa9f9d351c7b0276fbd2a22debe042d2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 446865fcba43deb85beb4f703a1f768816201d0b
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Tue Nov 4 07:30:15 2014 -0500
Ticket #31129 fix user suspends
diff --git a/FS/FS/part_export/aradial.pm b/FS/FS/part_export/aradial.pm
index 296430a..db99156 100644
--- a/FS/FS/part_export/aradial.pm
+++ b/FS/FS/part_export/aradial.pm
@@ -58,14 +58,14 @@ sub export_replace {
if ($new->email ne $old->email) {
return $old->export_delete || $new->export_insert;
}
- my $UserLockout = 0;
- $UserLockout = 1 if $new->cust_svc->cust_pkg->susp > 0;
+ my $Status = 0;
+ $Status = 1 if $new->cust_svc->cust_pkg->susp > 0;
$self->request_user_edit(
'Page' => 'UserEdit',
'Modify' => 1,
'UserID' => $old->email,
$self->svc_acct_params($new),
- UserLockout => $UserLockout,
+ 'Status' => $Status,
);
}
@@ -74,7 +74,7 @@ sub export_suspend {
$self->request_user_edit(
'Modify' => 1,
'UserID' => $svc->email,
- 'UserLockout' => 1,
+ 'Status' => 1,
);
}
@@ -83,7 +83,7 @@ sub export_unsuspend {
$self->request_user_edit(
'Modify' => 1,
'UserID' => $svc->email,
- 'UserLockout' => 0,
+ 'Status' => 0,
);
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_export/aradial.pm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
More information about the freeside-commits
mailing list