Removed unused parameter from function signature
authorEileen McNaughton <eileen@fuzion.co.nz>
Sat, 9 May 2015 09:38:52 +0000 (21:38 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sat, 9 May 2015 09:38:52 +0000 (21:38 +1200)
CRM/Activity/BAO/Activity.php
CRM/Case/Form/CustomData.php
CRM/Contact/Form/CustomData.php
CRM/Contact/Form/Inline/CustomData.php
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Core/BAO/CustomValueTable.php
CRM/Event/Form/Participant.php
CRM/Event/Form/Registration.php
CRM/Member/BAO/Membership.php

index a6cb989faa9aebf5d13140b37cb4a411acf9fcc5..e26d9aa20fdd5368bdbcf22e3ab7043aaa838e4f 100644 (file)
@@ -2660,7 +2660,7 @@ INNER JOIN  civicrm_option_group grp ON ( grp.id = val.option_group_id AND grp.n
           }
         }
       }
-      CRM_Core_BAO_CustomValueTable::postProcess($customParams, CRM_Core_DAO::$_nullArray, 'civicrm_activity',
+      CRM_Core_BAO_CustomValueTable::postProcess($customParams, 'civicrm_activity',
         $params['mainActivityId'], 'Activity'
       );
     }
index c8087c264ee942e1003bc55b92042f43f8315515..9862df9adcf476823e61a155c97b8d444853a1e4 100644 (file)
@@ -136,12 +136,10 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form {
    */
   public function postProcess() {
     $params = $this->controller->exportValues($this->_name);
-    $fields = array();
 
     $transaction = new CRM_Core_Transaction();
 
     CRM_Core_BAO_CustomValueTable::postProcess($params,
-      $fields,
       'civicrm_case',
       $this->_entityID,
       'Case'
index 94e790b8d1ca9ee2960e1727c2ca89d5420b88ee..1d0f1f2b4212fb5b5632b4460a73c4d803784fa0 100644 (file)
@@ -297,7 +297,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form {
     $params = $this->controller->exportValues($this->_name);
 
     CRM_Core_BAO_CustomValueTable::postProcess($params,
-      $this->_groupTree[$this->_groupID]['fields'],
       'civicrm_contact',
       $this->_tableID,
       $this->_entityType
index 8f8de2323a31c435ca4d96d2dd0582b33927eb85..e0b3f8433d23de2657d36a9331f13cefe6bf7190 100644 (file)
@@ -96,7 +96,6 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
     // Get the form values and groupTree
     $params = $this->controller->exportValues($this->_name);
     CRM_Core_BAO_CustomValueTable::postProcess($params,
-      $this->_groupTree[$this->_groupID]['fields'],
       'civicrm_contact',
       $this->_contactId,
       $this->_entityType
index 32f76c753c2e0685a85d9b8464d3734c691c9080..5a1a5d55b9be71817eb8e56e3d9a05441729c946 100644 (file)
@@ -1484,7 +1484,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
 
     if ($online && $contribution) {
       CRM_Core_BAO_CustomValueTable::postProcess($form->_params,
-        CRM_Core_DAO::$_nullArray,
         'civicrm_contribution',
         $contribution->id,
         'Contribution'
index 4892559ae0aac2a9f2c754ea466bfb5cace47c54..fade2e6c3132b2c800e3e266f17e8897d2dcf4e8 100644 (file)
@@ -354,14 +354,13 @@ class CRM_Core_BAO_CustomValueTable {
    * Post process function.
    *
    * @param array $params
-   * @param $customFields
    * @param $entityTable
    * @param int $entityID
    * @param $customFieldExtends
    */
-  public static function postProcess(&$params, &$customFields, $entityTable, $entityID, $customFieldExtends) {
+  public static function postProcess(&$params, $entityTable, $entityID, $customFieldExtends) {
     $customData = CRM_Core_BAO_CustomField::postProcess($params,
-      $customFields,
+      array(),
       $entityID,
       $customFieldExtends
     );
index 3afc3d18203aa6a213c828caf063bcaaf1e48362..812c10af5c48d707e6d889cdb407346544ded0d8 100644 (file)
@@ -1260,7 +1260,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
 
       //add custom data for participant
       CRM_Core_BAO_CustomValueTable::postProcess($this->_params,
-        CRM_Core_DAO::$_nullArray,
         'civicrm_participant',
         $participants[0]->id,
         'Participant'
index 8cc9e4db35041316c7185a8724b32c03ef087d04..5c7c206ae43cc0229114d81ab2234fa7600b9a2f 100644 (file)
@@ -755,7 +755,6 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
     }
 
     CRM_Core_BAO_CustomValueTable::postProcess($this->_params,
-      CRM_Core_DAO::$_nullArray,
       'civicrm_participant',
       $participant->id,
       'Participant'
index 3a97ded924d4fc9d9413ac059f96ff7cf3e1d55e..4fe7d86a265112044c3ecaba0fb6d5c4bb6ec70b 100644 (file)
@@ -1407,7 +1407,6 @@ AND civicrm_membership.is_test = %2";
     foreach ($createdMemberships as $createdMembership) {
       CRM_Core_BAO_CustomValueTable::postProcess(
         $form->_params,
-        CRM_Core_DAO::$_nullArray,
         'civicrm_membership',
         $createdMembership->id,
         'Membership'