nomoney: remove unused labels
These loop control labels are leftovers from an earlier, more complicated, attempt
This commit is contained in:
parent
a9040dcca1
commit
daffe920ba
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ sub hook_checkout_prepare($class, $cart, $username, $transaction_id, @) {
|
|||
my %resolved_balances = %balances;
|
||||
$resolved_balances{$_} += $resolved_deltas->{$_} for keys %$resolved_deltas;
|
||||
|
||||
ENTRY: for my $entry ($unresolved->entries) {
|
||||
for my $entry ($unresolved->entries) {
|
||||
my $single = RevBank::Cart->new;
|
||||
$single->add_entry($entry);
|
||||
my $trial_deltas = $single->deltas($username);
|
||||
|
@ -102,7 +102,7 @@ sub hook_checkout_prepare($class, $cart, $username, $transaction_id, @) {
|
|||
my %broke_users;
|
||||
$entry->attribute('nomoney_users', \%broke_users);
|
||||
|
||||
ACCOUNT: for my $account (keys %$trial_deltas) {
|
||||
for my $account (keys %$trial_deltas) {
|
||||
next if RevBank::Users::is_special($account);
|
||||
next if $trial_deltas->{$account} > 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue