You are here

function sf_prematch_match_by_delete in Salesforce Suite 7

Same name and namespace in other branches
  1. 6.2 sf_prematch/sf_prematch.module \sf_prematch_match_by_delete()
  2. 7.2 sf_prematch/sf_prematch.module \sf_prematch_match_by_delete()

Helper function to delete a fieldmap

Parameters

$fieldmap :

2 calls to sf_prematch_match_by_delete()
salesforce_api_fieldmap_delete in salesforce_api/salesforce_api.module
Deletes a fieldmap from the database.
sf_prematch_delete_form_submit in sf_prematch/sf_prematch.admin.inc
1 string reference to 'sf_prematch_match_by_delete'
salesforce_api_fieldmap_delete in salesforce_api/salesforce_api.module
Deletes a fieldmap from the database.

File

sf_prematch/sf_prematch.module, line 123
Extends Salesforce API module so checks for an existing match for an object before creating a new one.

Code

function sf_prematch_match_by_delete($fieldmap) {
  db_query("DELETE FROM {salesforce_prematch} WHERE fieldmap = %d", $fieldmap);
}