function shib_auth_uninstall in Shibboleth Authentication 6
Same name and namespace in other branches
- 5.3 shib_auth.install \shib_auth_uninstall()
- 5.2 shib_auth.install \shib_auth_uninstall()
- 6.4 shib_auth.install \shib_auth_uninstall()
- 6.2 shib_auth.install \shib_auth_uninstall()
- 6.3 shib_auth.install \shib_auth_uninstall()
- 7.4 shib_auth.install \shib_auth_uninstall()
Implementation of hook_uninstall().
File
- ./
shib_auth.install, line 13
Code
function shib_auth_uninstall() {
// Drop variables.
$variables = array(
'shib_auth_handler_url',
'shib_auth_handler_protocol',
'shib_auth_wayf_uri',
'shib_auth_username_variable',
'shib_auth_username_email',
);
foreach ($variables as $variable) {
variable_del($variable);
}
drupal_set_message(t('The Shibboleth authentication module was uninstalled successfully.'));
}