Skip to content

Commit 5636549

Browse files
committed
remove unnecessary fields in accessory checkout mail
1 parent 57107c4 commit 5636549

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/Mail/CheckoutAccessoryMail.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ public function content(): Content
5353
Log::debug($this->item->getImageUrl());
5454
$eula = $this->item->getEula();
5555
$req_accept = $this->item->requireAcceptance();
56-
57-
$accept_url = is_null($this->acceptance) ? null : route('account.accept.item', $this->acceptance);
58-
59-
// Check if the item has custom fields associated with it
60-
if (($this->item->model) && ($this->item->model->fieldset)) {
61-
$fields = $this->item->model->fieldset->fields;
62-
}
63-
6456
$accept_url = is_null($this->acceptance) ? null : route('account.accept.item', $this->acceptance);
6557

6658
return new Content(

0 commit comments

Comments
 (0)