Skip to content

Commit

Permalink
Merge pull request #21325 from eileenmcnaughton/build
Browse files Browse the repository at this point in the history
Remove extraneous buildQuickForm
  • Loading branch information
seamuslee001 authored Aug 31, 2021
2 parents b03fd5f + 43c9d07 commit fad686b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CRM/Contribute/Form/Task/PDFLetter.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ public function buildQuickForm() {
//enable form element
$this->assign('suppressForm', FALSE);

// Build common form elements
// use contact form as a base
CRM_Contact_Form_Task_PDFLetterCommon::buildQuickForm($this);

// Contribute PDF tasks allow you to email as well, so we need to add email address to those forms
$this->add('select', 'from_email_address', ts('From Email Address'), $this->_fromEmails, TRUE);
$this->addPDFElementsToForm();
Expand Down

0 comments on commit fad686b

Please sign in to comment.