function webform_validation_update_7104 in Webform Validation 7
Rename oneoftwo and oneofseveral to someofseveral and default data to 1.
File
- ./
webform_validation.install, line 198 - Webform_validation installation file.
Code
function webform_validation_update_7104() {
db_update('webform_validation_rule')
->fields(array(
'validator' => 'someofseveral',
'data' => 1,
))
->condition('validator', array(
'oneoftwo',
'oneofseveral',
), 'IN')
->execute();
}