From e6e07cb0bb7029db6fdfaa43e8756afd397cfe73 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 7 Nov 2007 09:00:29 +0000 Subject: [PATCH] =?utf8?q?Die=20globale=20Variable=20$sendmail=20wird=20nu?= =?utf8?q?r=20in=20SL/Mailer.pm=20ben=C3=B6tigt=20und=20sollte=20deswegen?= =?utf8?q?=20auch=20nur=20dort=20benutzt=20werden.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DN.pm | 2 +- bin/mozilla/dn.pl | 4 ++-- bin/mozilla/rp.pl | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/SL/DN.pm b/SL/DN.pm index 125e33ca1..2b6cd63fd 100644 --- a/SL/DN.pm +++ b/SL/DN.pm @@ -266,7 +266,7 @@ sub create_invoice_for_fees { sub save_dunning { $main::lxdebug->enter_sub(); - my ($self, $myconfig, $form, $rows, $userspath, $spool, $sendmail) = @_; + my ($self, $myconfig, $form, $rows, $userspath, $spool) = @_; # connect to database my $dbh = $form->dbconnect_noauto($myconfig); diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index e530050ad..c3e7966c3 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -191,7 +191,7 @@ sub save_dunning { foreach my $level (values %{ $levels }) { next unless scalar @{ $level }; - DN->save_dunning(\%myconfig, $form, $level, $userspath, $spool, $sendmail); + DN->save_dunning(\%myconfig, $form, $level, $userspath, $spool); } } @@ -204,7 +204,7 @@ sub save_dunning { "customer_id" => $form->{"customer_id_$i"}, "next_dunning_config_id" => $form->{"next_dunning_config_id_$i"}, "email" => $form->{"email_$i"}, } ]; - DN->save_dunning(\%myconfig, $form, $level, $userspath, $spool, $sendmail); + DN->save_dunning(\%myconfig, $form, $level, $userspath, $spool); } } diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 1a2999bde..446128633 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -1656,9 +1656,7 @@ sub print_form { } $form->{IN} = "$form->{type}.$suffix"; - $form->{OUT} = - $form->{media} eq 'email' ? $sendmail : - $form->{media} eq 'printer' ? "| $myconfig{printer}" : ""; + $form->{OUT} = $form->{media} eq 'printer' ? "| $myconfig{printer}" : ""; # Save $form->{email} because it will be overwritten. $form->{EMAIL_RECIPIENT} = $form->{email}; -- 2.20.1