From fefebb2e2bb23457d0dd8b11701ed6e54817cc41 Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Wed, 16 May 2018 18:05:24 +0100 Subject: [PATCH] "rename fulcrm_webhook_set_mapping to fulcrm_webhook_set_entity_mapping"" --- fulcrm_campaign.admin.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fulcrm_campaign.admin.inc b/fulcrm_campaign.admin.inc index 1cae88e..0afa7c7 100644 --- a/fulcrm_campaign.admin.inc +++ b/fulcrm_campaign.admin.inc @@ -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, + ); } }