You are here

function fb_user_page_alter in Drupal for Facebook 7.3

Implements hook_page_alter().

Reload page if user has changed. This would not make sense during an ajax callback (or anything else) where a redirect would not refresh the browsers page. That's why we do it here in page_alter().

File

./fb_user.module, line 284
This module manages relations between local Drupal user accounts and their accounts on facebook.com.

Code

function fb_user_page_alter(&$page) {
  _fb_user_check_and_goto();
}