From: Jonathan Prykop Date: Thu, 17 Mar 2016 05:21:01 +0000 (-0500) Subject: RT#28648: Unsuspend when past due balance is paid [more cleanup for backport] X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=6b285a7d0b37bb1dfd1972eead37a45bff977651 RT#28648: Unsuspend when past due balance is paid [more cleanup for backport] --- diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index fcd2c0bfd..645971ce0 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -673,8 +673,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. ": ".