]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/Order.pm
SL::DB::Order: überflüssigen Code entfernt
[kivitendo-erp.git] / SL / DB / Order.pm
index 8228def987684435e4c1234a8956ce1651532ac1..cff772a5d6d35535d047d06c5dcfe6805ac8e13b 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 $_ } @_;
   };