SL::DB::Order: überflüssigen Code entfernt
[kivitendo-erp.git] / SL / DB / Order.pm
index 8228def..cff772a 100644 (file)
@@ -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 $_ } @_;
   };