* @param string $daoName
* Name of the dao object.
* @param array $params
- * (reference ) an assoc array of name/value pairs.
+ * (reference) an assoc array of name/value pairs.
* @param array $defaults
- * (reference ) an assoc array to hold the flattened values.
+ * (reference) an assoc array to hold the flattened values.
* @param array $returnProperities
* An assoc array of fields that need to be returned, eg array( 'first_name', 'last_name').
*
/**
* Delete the object records that are associated with this contact.
*
+ * @deprecated
+ *
* @param string $daoName
* Name of the dao object.
* @param int $contactId
* Id of the contact to delete.
*/
public static function deleteEntityContact($daoName, $contactId) {
+ CRM_Core_Error::deprecatedFunctionWarning('APIv4');
$object = new $daoName();
$object->entity_table = 'civicrm_contact';