You are here

function webform_conditional_update in Webform 7.4

Update a conditional setting in the database.

File

includes/webform.conditionals.inc, line 1374
Form elements and menu callbacks to provide conditional handling in Webform.

Code

function webform_conditional_update($node, $conditional) {
  $transaction = db_transaction();
  webform_conditional_delete($node, $conditional);
  webform_conditional_insert($conditional);
}