function clientside_validation_update_7104 in Clientside Validation 7.2
Same name and namespace in other branches
- 7 clientside_validation.install \clientside_validation_update_7104()
Disable clientside validation for views.
File
- ./
clientside_validation.install, line 337
Code
function clientside_validation_update_7104() {
$paths = explode("\n", variable_get('clientside_validation_path_list', ''));
if (array_search('admin/structure/views/view/*', $paths) === FALSE) {
$paths[] = 'admin/structure/views/view/*';
}
variable_set('clientside_validation_path_list', implode("\n", $paths));
}