function xmlsitemap_term_uninstall in XML sitemap 5
Same name and namespace in other branches
- 5.2 xmlsitemap_term/xmlsitemap_term.install \xmlsitemap_term_uninstall()
Implementation of hook_uninstall().
File
- xmlsitemap_term/
xmlsitemap_term.install, line 98
Code
function xmlsitemap_term_uninstall() {
db_query("DROP TABLE {xmlsitemap_term}");
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'xmlsitemap\\_term\\_%'");
while ($variable = db_fetch_object($settings)) {
variable_del($variable->name);
}
}