function _bakery_taste_oatmeal_cookie in Bakery Single Sign-On System 6
Test redirect cookie
1 call to _bakery_taste_oatmeal_cookie()
- bakery_user in ./
bakery.module - Implementation of hook_user().
File
- ./
bakery.module, line 490
Code
function _bakery_taste_oatmeal_cookie() {
$cookie = _bakery_validate_cookie('OATMEAL');
if ($cookie) {
_bakery_eat_cookie('OATMEAL');
drupal_goto($cookie['destination']);
}
}