]> wagnertech.de Git - mfinanz.git/blobdiff - SL/OE.pm
Globale Variablen $::userspath, $::templates, $::membersfile nach %::lx_office_conf...
[mfinanz.git] / SL / OE.pm
index 7f0c8e3632ebc4a1c91450f1f83f347c6ae89c13..b12932bef009c4ef889c181feeaba6c6626a0cb9 100644 (file)
--- a/SL/OE.pm
+++ b/SL/OE.pm
@@ -655,7 +655,7 @@ sub _close_quotations_rfqs {
 sub delete {
   $main::lxdebug->enter_sub();
 
-  my ($self, $myconfig, $form, $spool) = @_;
+  my ($self, $myconfig, $form) = @_;
 
   # connect to database
   my $dbh = $form->dbconnect_noauto($myconfig);
@@ -705,6 +705,7 @@ sub delete {
   $dbh->disconnect;
 
   if ($rc) {
+    my $spool = $::lx_office_conf{paths}->{spool};
     foreach $spoolfile (@spoolfiles) {
       unlink "$spool/$spoolfile" if $spoolfile;
     }