Révision 6a93dd76
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/webform/webform.install | ||
---|---|---|
1613 | 1613 |
'target' => $component['cid'], |
1614 | 1614 |
'weight' => 0, |
1615 | 1615 |
); |
1616 |
drupal_write_record('webform_conditional', $conditional); |
|
1616 |
|
|
1617 |
// Cannot use drupal_write_record for webform_conditional because |
|
1618 |
// the current schema has fewer fields than the schema in use during |
|
1619 |
// this hook_update_N function. |
|
1620 |
db_insert('webform_conditional') |
|
1621 |
->fields($conditional) |
|
1622 |
->execute(); |
|
1617 | 1623 |
foreach ($rules as $rule) { |
1618 | 1624 |
drupal_write_record('webform_conditional_rules', $rule); |
1619 | 1625 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules