function miniorange_saml_uninstall in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
Same name and namespace in other branches
- 7 miniorange_saml.install \miniorange_saml_uninstall()
hook_uninstall not needed. Configure variables are cleared when module is uninstalled.
File
- ./
miniorange_saml.install, line 13 - Installation file for miniOrange SAML Module.
Code
function miniorange_saml_uninstall() {
$drupal_is_cli_command = Utilities::drupal_is_cli();
if (!$drupal_is_cli_command) {
if (\Drupal::config('miniorange_saml.settings')
->get('miniorange_saml_feedback') == '1') {
feedback::miniorange_saml_feedback();
}
}
}