projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kosmetik/Refactoring
[kivitendo-erp.git]
/
SL
/
DB
/
CsvImportProfile.pm
diff --git
a/SL/DB/CsvImportProfile.pm
b/SL/DB/CsvImportProfile.pm
index
a0e1fa7
..
21dd484
100644
(file)
--- a/
SL/DB/CsvImportProfile.pm
+++ b/
SL/DB/CsvImportProfile.pm
@@
-105,6
+105,14
@@
sub clone_and_reset_deep {
return $clone;
}
return $clone;
}
+sub flatten {
+ my ($self) = @_;
+
+ return map {
+ $_->key => $_->value
+ } $self->settings;
+}
+
#
# hooks
#
#
# hooks
#