function signup_uninstall in Signup 5.2
Same name and namespace in other branches
- 5 signup.install \signup_uninstall()
- 6.2 signup.install \signup_uninstall()
- 6 signup.install \signup_uninstall()
- 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);
}
}