mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Change check data email subject
This commit is contained in:
parent
ddee84ae96
commit
6304d707a7
@ -96,7 +96,7 @@ class CheckData extends Command
|
|||||||
Mail::raw($this->log, function ($message) use ($errorEmail, $database) {
|
Mail::raw($this->log, function ($message) use ($errorEmail, $database) {
|
||||||
$message->to($errorEmail)
|
$message->to($errorEmail)
|
||||||
->from(CONTACT_EMAIL)
|
->from(CONTACT_EMAIL)
|
||||||
->subject("Check-Data [{$database}]: " . strtoupper($this->isValid ? RESULT_SUCCESS : RESULT_FAILURE));
|
->subject("Check-Data: " . strtoupper($this->isValid ? RESULT_SUCCESS : RESULT_FAILURE) . " [{$database}]");
|
||||||
});
|
});
|
||||||
} elseif (! $this->isValid) {
|
} elseif (! $this->isValid) {
|
||||||
throw new Exception('Check data failed!!');
|
throw new Exception('Check data failed!!');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user