function field_encrypt_disable in Field Encryption 7
Implements hook_disable().
File
- ./
field_encrypt.install, line 33 - Insallation functions for the Field Encryption module.
Code
function field_encrypt_disable() {
// Clear the cache of existing data.
cache_clear_all('*', 'cache_field', TRUE);
// Set the old class for this bin, if there was one.
$old_cache = variable_get('field_encrypt_old_cache', NULL);
if ($old_cache === NULL) {
variable_del('cache_class_cache_field');
}
else {
variable_set('cache_class_cache_field', $old_cache);
}
}