function encrypt_uninstall in Encrypt 7.2
Same name and namespace in other branches
- 6 encrypt.install \encrypt_uninstall()
- 7.3 encrypt.install \encrypt_uninstall()
- 7 encrypt.install \encrypt_uninstall()
Implements hook_uninstall().
Delete all of our variables from the variables table.
File
- ./
encrypt.install, line 127 - Install, update and uninstall functions for the encrypt module.
Code
function encrypt_uninstall() {
variable_del('encrypt_default_config');
// Delete any variables left over from older versions of Encrypt.
variable_del('encrypt_encryption_method');
$provider = variable_get('encrypt_key_provider', '');
if ($provider) {
variable_del('encrypt_key_providers_' . $provider . '_settings');
}
variable_del('encrypt_key_provider');
}