Skip to content

Commit

Permalink
Merge pull request #16396 from eileenmcnaughton/cont_setting2
Browse files Browse the repository at this point in the history
[REF] Remove unused variables
  • Loading branch information
seamuslee001 authored Jan 28, 2020
2 parents f2858e1 + 16d2450 commit 7eac726
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CRM/Event/BAO/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -1232,8 +1232,6 @@ public static function sendMail($contactID, $values, $participantId, $isTest = F
$values['event']
);
// append invoice pdf to email
$template = CRM_Core_Smarty::singleton();
$taxAmt = $template->get_template_vars('totalTaxAmount');
$prefixValue = Civi::settings()->get('contribution_invoice_settings');
$invoicing = CRM_Utils_Array::value('invoicing', $prefixValue);
if (isset($invoicing) && isset($prefixValue['is_email_pdf']) && !empty($values['contributionId'])) {
Expand Down

0 comments on commit 7eac726

Please sign in to comment.