code fixes

This commit is contained in:
Dennis Eichhorn 2024-03-15 20:24:38 +00:00
parent 65c4f08adf
commit e6f0553c4d
3 changed files with 3 additions and 4 deletions

View File

@ -14,7 +14,6 @@ declare(strict_types=1);
namespace Modules\Monitoring\Controller;
use Modules\Admin\Models\SettingsEnum;
use phpOMS\Contract\RenderableInterface;
use phpOMS\Message\Mail\Email;
use phpOMS\Message\RequestAbstract;
@ -53,7 +52,7 @@ final class CliController extends Controller
$hasErrorReport = \is_file($file = __DIR__ . '/../../../Logs/' . $today->format('Y-m-d') . '.log');
// @todo define report email template
$mail = new Email();
$mail = new Email();
$status = $this->app->moduleManager->get('Admin', 'Api')->setupEmailDefaults($mail);
$mail->addTo($mail->from[0]);

View File

@ -67,6 +67,6 @@ return ['Monitoring' => [
'Uri' => 'Uri',
'Version' => 'Ausführung',
'Warnings' => 'Warnungen',
'WarningLogReport' => 'Wenn Sie dieses Protokoll melden, achten Sie bitte darauf, dass keine vertraulichen und persönlichen Daten übermittelt werden.
'WarningLogReport' => 'Wenn Sie dieses Protokoll melden, achten Sie bitte darauf, dass keine vertraulichen und persönlichen Daten übermittelt werden.
',
]];

View File

@ -67,5 +67,5 @@ return ['Monitoring' => [
'Uri' => 'Uri',
'Version' => 'Version',
'Warnings' => 'Warnings',
'WarningLogReport' => 'When you report this log, please make sure no confidential and personal data is submitted.',
'WarningLogReport' => 'When you report this log, please make sure no confidential and personal data is submitted.',
]];