X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FSessionFile.pm;h=7536b56d3adbac3c78f8b2f1c891b6eb4d775c98;hb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;hp=08f905bc8d81ca3863cadbf272b808f5bb7e7234;hpb=08d78ff5c14d302d3e86d368d752195625c3120d;p=kivitendo-erp.git diff --git a/SL/SessionFile.pm b/SL/SessionFile.pm index 08f905bc8..7536b56d3 100644 --- a/SL/SessionFile.pm +++ b/SL/SessionFile.pm @@ -21,6 +21,10 @@ sub new { my $self = $class->SUPER::new; + if ($params{session_id}) { + $self->session_id($params{session_id}) + } + my $path = $self->prepare_path; $file_name =~ s:.*/::g; $file_name = "${path}/${file_name}"; @@ -149,7 +153,7 @@ Returns the full relative file name associated with this instance. If it has been created for "customer.csv" then the value returned might be C. -=item C +=item C Opens the file_name given at creation with the given parameters.