Code clean up.

This commit is contained in:
James Cole
2017-11-15 10:52:29 +01:00
parent aee17221eb
commit 649dca77f5
305 changed files with 1200 additions and 1600 deletions

View File

@@ -87,7 +87,8 @@ class MailError extends Job implements ShouldQueue
$args['ip'] = $this->ipAddress;
Mail::send(
['emails.error-html', 'emails.error-text'], $args,
['emails.error-html', 'emails.error-text'],
$args,
function (Message $message) use ($email) {
if ($email !== 'mail@example.com') {
$message->to($email, $email)->subject('Caught an error in Firely III');