X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_main_Mixin.pm;h=9a2a9d7b1c6bf154cac0837da0a7577f5b827cde;hb=7109ab0b7108ee365fbc958eaaf9e473f2332c08;hp=9b4ae3a090c6cdc13ee4a053cde11247e9cee769;hpb=b3cc20aeca25e4351c6ec3b795a951e6124f6376;p=freeside.git 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. ": ".