You are here

function fb_social_uninstall in Facebook social plugins integration 6

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

File

./fb_social.install, line 4

Code

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