You are here

function fb_user_uninstall in Drupal for Facebook 7.3

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

Implement hook_uninstall().

File

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

Code

function fb_user_uninstall() {
  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);
  }
}