You are here

function fb_exit in Drupal for Facebook 5.2

Same name and namespace in other branches
  1. 5 fb.module \fb_exit()
  2. 6.3 fb.module \fb_exit()
  3. 6.2 fb.module \fb_exit()
  4. 7.3 fb.module \fb_exit()

When exiting we need to do some special stuff for forms

File

./fb.module, line 537

Code

function fb_exit($destination = NULL) {
  global $fb_app, $fb;
  if ($fb_app && $fb) {
    fb_invoke(FB_OP_EXIT, array(
      'fb_app' => $fb_app,
      'fb' => $GLOBALS['fb'],
    ), $destination);
  }
}