You are here

function fb_user_uninstall in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 6.2 fb_user.install \fb_user_uninstall()
  2. 7.3 fb_user.install \fb_user_uninstall()

Implementation of hook_uninstall().

File

./fb_user.install, line 20
Install file for fb_user.module.

Code

function fb_user_uninstall() {

  // Remove tables.
  drupal_uninstall_schema('fb_user');
  foreach (array(
    FB_USER_VAR_USERNAME_STYLE,
    FB_USER_VAR_ALTER_REGISTER,
    FB_USER_VAR_ALTER_LOGIN,
    FB_USER_VAR_ALTER_LOGIN_BLOCK,
    FB_USER_VAR_ALTER_CONTACT,
    FB_USER_VAR_TEXT_REGISTER,
    FB_USER_VAR_TEXT_LOGIN,
    FB_USER_VAR_TEXT_LOGIN_BLOCK,
  ) as $var) {
    variable_del($var);
  }
}