From: Eileen McNaughton Date: Tue, 13 Jan 2015 00:29:01 +0000 (+1300) Subject: remove unused var X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c1d12cc01f2c51e7b4acfafa2babd44f87b1c642;p=civicrm-core.git remove unused var --- diff --git a/api/v3/Contact.php b/api/v3/Contact.php index b06e8d9e65..4a23bdd0b4 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -296,15 +296,12 @@ function civicrm_api3_contact_delete($params) { /** * @param array $params * @param bool $dupeCheck - * @param bool $dupeErrorArray - * @param bool $obsoletevalue - * @param int $dedupeRuleGroupID * * @return null * @throws API_Exception * @throws CiviCRM_API3_Exception */ -function _civicrm_api3_contact_check_params(&$params, $dupeCheck = TRUE, $dupeErrorArray = FALSE, $obsoletevalue = TRUE, $dedupeRuleGroupID = NULL) { +function _civicrm_api3_contact_check_params(&$params, $dupeCheck) { switch (strtolower(CRM_Utils_Array::value('contact_type', $params))) { case 'household':