X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f64be46da8e7aa38078141a08390a0f6560605fe..7635f647ec7dcdef51684b21601ee0930ea2bc5b:/SL/DB/CsvImportProfile.pm?ds=sidebyside diff --git a/SL/DB/CsvImportProfile.pm b/SL/DB/CsvImportProfile.pm index a0e1fa715..21dd4842d 100644 --- a/SL/DB/CsvImportProfile.pm +++ b/SL/DB/CsvImportProfile.pm @@ -105,6 +105,14 @@ sub clone_and_reset_deep { return $clone; } +sub flatten { + my ($self) = @_; + + return map { + $_->key => $_->value + } $self->settings; +} + # # hooks #