function clientside_validation_update_6101 in Clientside Validation 6
Dependencies changed, enable the right modules.
File
- ./
clientside_validation.install, line 28
Code
function clientside_validation_update_6101() {
$dependants = array(
'clientside_validation_fapi',
'clientside_validation_webform',
);
foreach ($dependants as $dependant) {
if (module_exists($dependant) && !module_exists('clientside_validation_form')) {
module_enable(array(
'clientside_validation_form',
));
break;
}
}
return array(
array(
'success' => TRUE,
),
);
}