You are here

function signup_uninstall in Signup 5

Same name and namespace in other branches
  1. 5.2 signup.install \signup_uninstall()
  2. 6.2 signup.install \signup_uninstall()
  3. 6 signup.install \signup_uninstall()
  4. 7 signup.install \signup_uninstall()

File

./signup.install, line 95

Code

function signup_uninstall() {
  if (db_table_exists('signup')) {
    db_query("DROP TABLE {signup}");
  }
  if (db_table_exists('signup_log')) {
    db_query("DROP TABLE {signup_log}");
  }
  $variables = db_query("SELECT name FROM {variable} WHERE name LIKE 'signup%%'");
  while ($variable = db_fetch_object($variables)) {
    variable_del($variable->name);
  }
}