From cd274d3f3c0600fedf42cca0830179cbeb81a535 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 10 Feb 2021 10:10:30 +0100 Subject: [PATCH] =?utf8?q?SL::DB::Order:=20=C3=BCberfl=C3=BCssigen=20Code?= =?utf8?q?=20entfernt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Order.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 8228def98..cff772a5d 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -315,9 +315,6 @@ sub new_from { croak("Cannot convert from '" . $source->type . "' to '" . $destination_type . "'") if !$from_to; my $is_abbr_any = sub { - # foreach my $abbr (@_) { - # croak "no such abbreviation: '$abbr'" if !grep { $_->{abbr} eq $abbr } @from_tos; - # } any { $from_to->{abbr} eq $_ } @_; }; -- 2.20.1