You are here

function _fb_user_special_page in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 5.2 fb_user.module \_fb_user_special_page()
  2. 5 fb_user.module \_fb_user_special_page()
  3. 6.2 fb_user.module \_fb_user_special_page()
  4. 7.3 fb_user.module \_fb_user_special_page()

There are several pages where we don't want to automatically create a new account or use an account configured for this app.

1 call to _fb_user_special_page()
fb_user_fb in ./fb_user.module
Implementation of hook_fb.

File

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

Code

function _fb_user_special_page() {

  // fb_app/event is called by facebook.  Don't create accounts on that page.
  return arg(0) == 'fb_app' && arg(1) == 'event';
}