function webform_civicrm_disable in Webform CiviCRM Integration 6.2
Same name and namespace in other branches
- 7.2 webform_civicrm_d7_functions.inc \webform_civicrm_disable()
Delete civicrm settings for a webform.
1 call to webform_civicrm_disable()
- webform_civicrm_configure_form_submit in ./
webform_civicrm_admin.inc - Submission handler, saves CiviCRM options for a Webform node
File
- ./
webform_civicrm_d6_functions.inc, line 71 - Keep all functions specific to a version of Drupal here, to allow the rest of the code to be version-independent.
Code
function webform_civicrm_disable($nid) {
db_query('DELETE FROM {webform_civicrm_forms} WHERE nid = %d', $nid);
}