From: Moritz Bunkus Date: Tue, 12 Jan 2016 13:51:24 +0000 (+0100) Subject: SelfTest: Datenbanknamen gefixt; Client-Namen auch mit ausgeben X-Git-Tag: release-3.4.1~467 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e23a8be01334e573ec40652efd9458414b9c6ebc;p=kivitendo-erp.git SelfTest: Datenbanknamen gefixt; Client-Namen auch mit ausgeben --- diff --git a/SL/BackgroundJob/SelfTest.pm b/SL/BackgroundJob/SelfTest.pm index 6137ced42..514562590 100644 --- a/SL/BackgroundJob/SelfTest.pm +++ b/SL/BackgroundJob/SelfTest.pm @@ -153,7 +153,8 @@ sub _prepare_report { my %params = ( SELF => $self, host => hostname, - database => $::myconfig{dbname}, + database => $::auth->client->{dbname}, + client => $::auth->client->{name}, path => $FindBin::Bin, ); diff --git a/templates/mail/self_test/status_mail.txt b/templates/mail/self_test/status_mail.txt index 2dc69dc41..7c3d306df 100644 --- a/templates/mail/self_test/status_mail.txt +++ b/templates/mail/self_test/status_mail.txt @@ -3,6 +3,7 @@ kivitendo selftest report. Host: [% host %] Path: [% path %] DB: [% database %] +Client: [% client %] Result: [% SELF.aggreg.get_status %] ------------