From 621a52903bcb97ff74da5e61eb43ede61d1a0cbf Mon Sep 17 00:00:00 2001 From: Allen Shaw Date: Tue, 13 Jun 2017 10:54:00 -0500 Subject: [PATCH] Additional for CRM-20488: remove useless preProcess() method. --- CRM/Contribute/Form/SoftCredit.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/CRM/Contribute/Form/SoftCredit.php b/CRM/Contribute/Form/SoftCredit.php index 901ea45a3b9d..5ffc5e59f00b 100644 --- a/CRM/Contribute/Form/SoftCredit.php +++ b/CRM/Contribute/Form/SoftCredit.php @@ -36,25 +36,6 @@ */ class CRM_Contribute_Form_SoftCredit { - /** - * Set variables up before form is built. - * - * @param CRM_Core_Form $form - */ - public static function preProcess(&$form) { - $contriDAO = new CRM_Contribute_DAO_Contribution(); - $contriDAO->id = $form->_id; - $contriDAO->find(TRUE); - if ($contriDAO->contribution_page_id) { - $ufJoinParams = array( - 'module' => 'soft_credit', - 'entity_table' => 'civicrm_contribution_page', - 'entity_id' => $contriDAO->contribution_page_id, - ); - $profileId = CRM_Core_BAO_UFJoin::getUFGroupIds($ufJoinParams); - } - } - /** * Function used to build form element for soft credit block. *