Skip to content

Commit

Permalink
dnk: remove unnecessary checks
Browse files Browse the repository at this point in the history
  • Loading branch information
danuk committed Oct 30, 2019
1 parent 234ff56 commit 1276f0c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/lib/Core/Billing/Simpler.pm
@@ -1,7 +1,6 @@
package Core::Billing::Simpler;

use v5.14;
use Carp qw(confess);

use base qw(Exporter);

Expand Down Expand Up @@ -46,10 +45,6 @@ sub calc_total_by_date_range {
);
my $debug = 0;

for ( keys %wd ) {
confess("`$_` required") unless defined $wd{ $_ };
}

my %start = parse_date( $wd{withdraw_date} );
my %stop = parse_date( $wd{end_date} );

Expand Down

0 comments on commit 1276f0c

Please sign in to comment.