Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
clientside_validation
Commits
e7b54781
Commit
e7b54781
authored
Sep 02, 2013
by
haggins
Committed by
Jelle
Sep 02, 2013
Browse files
Issue #2035947 by haggins: Fixed Variables not removed when uninstalling.
parent
14f8a4b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
clientside_validation.install
clientside_validation.install
+19
-0
No files found.
clientside_validation.install
View file @
e7b54781
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment