drupalauth4ssp.install in DrupalAuth for SimpleSAMLphp 7
Install/Uninstall functions file for the drupalauth4ssp module.
File
drupalauth4ssp.installView source
<?php
/**
* @file
* Install/Uninstall functions file for the drupalauth4ssp module.
*/
/**
* Implements of hook_uninstall().
*/
function drupalauth4ssp_uninstall() {
// Remove the created system variables.
variable_del('drupalauth4ssp_installdir');
variable_del('drupalauth4ssp_authsource');
}
/**
* Add new setting for redirect restriction.
*/
function drupalauth4ssp_update_7000() {
variable_get('drupalauth4ssp_returnto_list', '*');
}
Functions
Name | Description |
---|---|
drupalauth4ssp_uninstall | Implements of hook_uninstall(). |
drupalauth4ssp_update_7000 | Add new setting for redirect restriction. |