function fb_app_delete in Drupal for Facebook 5
Same name and namespace in other branches
- 5.2 fb_app.module \fb_app_delete()
File
- ./
fb_app.module, line 311 - Defines a custom node type that stores a facebook application configuration.
Code
function fb_app_delete($node) {
db_query('DELETE FROM {fb_app} WHERE nid=%d', $node->nid);
db_query('DELETE FROM {fb_app_block} WHERE nid=%d', $node->nid);
}