summaryrefslogtreecommitdiff
path: root/FS/FS/cust_main_Mixin.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-03-17 00:21:01 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-03-17 00:32:43 -0500
commit9dd24df729dd13819019b87d25c1669346c49dd4 (patch)
treea883c86957c48df736259abea9ab73ec805de3e5 /FS/FS/cust_main_Mixin.pm
parentf40a061c3d2bfc3d988d4fd4e8e15211e8d9a291 (diff)
RT#28648: Unsuspend when past due balance is paid [more cleanup for backport]
Diffstat (limited to 'FS/FS/cust_main_Mixin.pm')
-rw-r--r--FS/FS/cust_main_Mixin.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm
index 9b4ae3a..9a2a9d7 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. ": ".