function userprotect_uninstall in User protect 7
Same name and namespace in other branches
- 5 userprotect.install \userprotect_uninstall()
- 6 userprotect.install \userprotect_uninstall()
Implements hook_uninstall().
File
- ./
userprotect.install, line 188 - Install, update and uninstall functions for the userprotect module.
Code
function userprotect_uninstall() {
// Drop variables.
$variables = array(
'userprotect_protection_defaults',
'userprotect_autoprotect',
'userprotect_administrator_bypass_defaults',
'userprotect_role_protections',
);
foreach ($variables as $variable) {
variable_del($variable);
}
}