cleanup function and remove unused param
[civicrm-core.git] / CRM / Custom / Form / CustomData.php
index ad02bf58369c5d09ece8943115ae3024d128f729..e0189b7670f37b5c425f5ad87283a8b9e6574687 100644 (file)
@@ -156,7 +156,7 @@ class CRM_Custom_Form_CustomData {
   static function buildQuickForm(&$form) {
     $form->addElement('hidden', 'hidden_custom', 1);
     $form->addElement('hidden', "hidden_custom_group_count[{$form->_groupID}]", $form->_groupCount);
-    CRM_Core_BAO_CustomGroup::buildQuickForm($form, $form->_groupTree, FALSE, $form->_groupCount);
+    CRM_Core_BAO_CustomGroup::buildQuickForm($form, $form->_groupTree);
   }
 }