function fbconnect_uninstall in Facebook Connect 5
Same name and namespace in other branches
- 8.2 fbconnect.install \fbconnect_uninstall()
- 6.2 fbconnect.install \fbconnect_uninstall()
- 6 fbconnect.install \fbconnect_uninstall()
- 7.2 fbconnect.install \fbconnect_uninstall()
Implementation of hook_uninstall().
File
- ./
fbconnect.install, line 26 - Implementation of hook_install().
Code
function fbconnect_uninstall() {
// Remove database tables.
db_query('DROP TABLE {fbconnect_users}');
// Delete our module's variable from the variables table.
variable_del('fbconnect_api_key');
variable_del('fbconnect_secret_api_key');
variable_del('fbconnect_invitef_content');
variable_del('fbconnect_invitef_type');
variable_del('fbconnect_button_type');
variable_del('fbconnect_reg_feed_id');
variable_del('fbconnect_com_feed_id');
variable_del('fbconnect_reg_feed');
variable_del('fbconnect_com_feed');
variable_del('fbconnect_invitef_redirect');
}