Remove extraneous buildQuickForm
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 30 Aug 2021 23:06:49 +0000 (11:06 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 30 Aug 2021 23:06:49 +0000 (11:06 +1200)
CRM/Contribute/Form/Task/PDFLetter.php

index ae28058164586f9aa76766dba6a6c0dad6fbe909..9941415900e1de62330e9f52cb7fad2ebfa0d9c9 100644 (file)
@@ -78,10 +78,6 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task {
     //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();