You are here

function fb_social_uninstall in Facebook social plugins integration 6.2

Same name and namespace in other branches
  1. 6 fb_social.install \fb_social_uninstall()
  2. 7.2 fb_social.install \fb_social_uninstall()

Implementation of hook_uninstall().

File

./fb_social.install, line 18
Install, update and uninstall functions for the fb_social module.

Code

function fb_social_uninstall() {
  drupal_uninstall_schema('fb_social');

  // delete system variables
  $vars = db_query("SELECT * FROM {variable} WHERE name LIKE 'fb_social_%'");
  while ($var = db_fetch_object($vars)) {
    variable_del($var->name);
  }
}