projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1bffbc
)
SL::DB::Order: überflüssigen Code entfernt
author
Moritz Bunkus
<m.bunkus@linet.de>
Wed, 10 Feb 2021 09:10:30 +0000
(10:10 +0100)
committer
Moritz Bunkus
<m.bunkus@linet.de>
Wed, 10 Feb 2021 09:10:30 +0000
(10:10 +0100)
SL/DB/Order.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Order.pm
b/SL/DB/Order.pm
index
8228def
..
cff772a
100644
(file)
--- 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 $_ } @_;
};