projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rechnungen: Sicherheitsnachfrage vor Stornierung
[kivitendo-erp.git]
/
SL
/
BackgroundJob
/
SelfTest.pm
diff --git
a/SL/BackgroundJob/SelfTest.pm
b/SL/BackgroundJob/SelfTest.pm
index
aab2796
..
5145625
100644
(file)
--- a/
SL/BackgroundJob/SelfTest.pm
+++ b/
SL/BackgroundJob/SelfTest.pm
@@
-124,7
+124,7
@@
sub _send_email {
my ($output, $content_type) = $self->_prepare_report;
my ($output, $content_type) = $self->_prepare_report;
- my $mail = Mailer->new
(charset => $::locale->is_utf8 ? 'UTF-8' : Common->DEFAULT_CHARSET )
;
+ my $mail = Mailer->new;
$mail->{from} = $self->config->{email_from};
$mail->{to} = $email;
$mail->{subject} = $self->config->{email_subject};
$mail->{from} = $self->config->{email_from};
$mail->{to} = $email;
$mail->{subject} = $self->config->{email_subject};
@@
-153,7
+153,8
@@
sub _prepare_report {
my %params = (
SELF => $self,
host => hostname,
my %params = (
SELF => $self,
host => hostname,
- database => $::myconfig{dbname},
+ database => $::auth->client->{dbname},
+ client => $::auth->client->{name},
path => $FindBin::Bin,
);
path => $FindBin::Bin,
);