Skip to content

Commit

Permalink
Remove some cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
sjelfull committed Apr 13, 2018
1 parent 6256919 commit 336cbaf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/services/OrderNotesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function formatOrderNotes($notes = [])
return [
'date' => $note->dateCreated,
'message' => nl2br($note->message),
'notify' => $note->notify,
'notify' => $note->notify,
'username' => $note->getUsername(),
];
}, $notes));
Expand Down Expand Up @@ -166,9 +166,6 @@ public function notifyCustomer(OrderNotesModel $note, Order $order)
try {
$address = $order->getBillingAddress();
$subject = $templates->renderString($settings->notifyEmailSubject, $variables);
Craft::info('Email to: ' . $order->email . $address->getFullName(), __METHOD__);
Craft::info('Email from: ' . $fromName . $fromEmail, __METHOD__);

$message = (new Message())
->setFrom([$fromEmail => $fromName])
->setReplyTo([$fromEmail => $fromName])
Expand Down

0 comments on commit 336cbaf

Please sign in to comment.