Skip to content

Commit

Permalink
Remove legacy tpl assigns
Browse files Browse the repository at this point in the history
These really look like they were copied over from participant forms -
they are not used in the membership tpl receipts
  • Loading branch information
eileenmcnaughton committed Dec 15, 2020
1 parent 05ab2ec commit 5d24295
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CRM/Member/Form/Membership.php
Original file line number Diff line number Diff line change
Expand Up @@ -932,9 +932,6 @@ public static function emailReceipt(&$form, &$formValues, &$membership, $customV

$valuesForForm = CRM_Contribute_Form_AbstractEditPayment::formatCreditCardDetails($form->_params);
$form->assignVariables($valuesForForm, ['credit_card_exp_date', 'credit_card_type', 'credit_card_number']);

$form->assign('contributeMode', 'direct');
$form->assign('isAmountzero', 0);
$form->assign('is_pay_later', 0);
$form->assign('isPrimary', 1);
}
Expand Down

0 comments on commit 5d24295

Please sign in to comment.