function fb_exit in Drupal for Facebook 5.2
Same name and namespace in other branches
- 5 fb.module \fb_exit()
- 6.3 fb.module \fb_exit()
- 6.2 fb.module \fb_exit()
- 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);
}
}