function cas_test_logout in CAS 7
Same name and namespace in other branches
- 6.3 tests/cas_test.module \cas_test_logout()
Log out a user.
1 string reference to 'cas_test_logout'
- cas_test_menu in tests/
cas_test.module - Implements hook_menu().
File
- tests/
cas_test.module, line 195 - Dummy module implementing a CAS Server.
Code
function cas_test_logout() {
if (isset($_GET['url'])) {
print t('Logged out. Continue to @url.', array(
'@url' => $_GET['url'],
));
}
else {
print t('Logged out. No redirection provided.');
}
exit;
}