"rename fulcrm_webhook_set_mapping to fulcrm_webhook_set_entity_mapping""

master
Marek Isalski 7 years ago
parent 361c76d024
commit fefebb2e2b

@ -632,7 +632,12 @@ function fulcrm_campaign_admin_campaign_sync_form_submit( $form, &$form_state )
$fulcrm_type = fulcrm_apiv2_url_to_type( $url );
$fulcrm_pk = fulcrm_apiv2_url_to_pk( $url );
fulcrm_webhook_set_mapping( 'fulcrm_campaign', 'fulcrm_campaign', $fcid, $fulcrm_type, $fulcrm_pk );
fulcrm_webhook_set_entity_mapping( $entity_type = 'fulcrm_campaign',
$bundle = 'fulcrm_campaign',
$entity_id = $fcid,
$fulcrm_type = $fulcrm_type,
$fulcrm_pk = $fulcrm_pk,
);
}
}

Loading…
Cancel
Save