Commit e7b54781 authored by haggins's avatar haggins Committed by Jelle
Browse files

Issue #2035947 by haggins: Fixed Variables not removed when uninstalling.

parent 14f8a4b7
......@@ -77,6 +77,25 @@ function clientside_validation_schema() {
return $schema;
}
/**
* Removes variables on uninstall.
*/
function clientside_validation_uninstall() {
$variables = array(
'clientside_validation_default_settings',
'clientside_validation_filter_paths',
'clientside_validation_override_jquery_form',
'clientside_validation_path_list',
'clientside_validation_use_minified',
'clientside_validation_validate_all',
'clientside_validation_validate_specific',
);
foreach ($variables as $name) {
variable_del($name);
}
}
/**
* Clientside validation was split up into form validation, webform validation and fapi validation.
* This update enables the form and webform clientside validation module. It does not enable the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment