[freeside-commits] branch FREESIDE_3_BRANCH updated. e4508a56fd7ccef6604e10799ba187a3e9c02954

Jeremy Davis jeremyd at 420.am
Tue Nov 4 07:25:09 PST 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  e4508a56fd7ccef6604e10799ba187a3e9c02954 (commit)
      from  c647059d0f8490b89e10a7a4ba8e3f7e1c42994b (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 e4508a56fd7ccef6604e10799ba187a3e9c02954
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Tue Nov 4 07:32:39 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