diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-17 00:21:01 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-17 00:21:01 -0500 |
commit | 2352989dbc91f1f4e75c5d08da8a98177279ad93 (patch) | |
tree | 97765808cce845731558799b270da4bfe5db4b54 | |
parent | 3f3ff0e70a1650ac5afdbd3d3a3d4ae036c656d2 (diff) |
RT#28648: Unsuspend when past due balance is paid [more cleanup for backport]
-rw-r--r-- | FS/FS/cust_main_Mixin.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index 9b4ae3a09..9a2a9d7b1 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -682,8 +682,6 @@ sub unsuspend_balance { } my $balance = $cust_main->balance || 0; if ($balance <= $maxbalance) { - # or should this be - # my @errors = grep { ($_->get('setup')) && $_->unsuspend } $cust_main->unflagged_suspended_pkgs; my @errors = $cust_main->unsuspend; # side-fx with nested transactions? upstack rolls back? warn "WARNING:Errors unsuspending customer ". $cust_main->custnum. ": ". |