You are here

function drupalauth4ssp_drupal_goto_alter in DrupalAuth for SimpleSAMLphp 7

Implements hook_drupal_goto_alter().

File

./drupalauth4ssp.module, line 100
DrupalAuth For simpleSAMLphp module.

Code

function drupalauth4ssp_drupal_goto_alter(&$path, &$options, &$http_response_code) {
  $destination =& drupal_static('drupalauth4ssp_user_logout');
  if (!$path && $destination) {
    drupal_goto($destination);
  }
}