function xmlsitemap_node_uninstall in XML sitemap 5
Same name and namespace in other branches
- 5.2 xmlsitemap_node/xmlsitemap_node.install \xmlsitemap_node_uninstall()
- 6.2 xmlsitemap_node/xmlsitemap_node.install \xmlsitemap_node_uninstall()
- 6 xmlsitemap_node/xmlsitemap_node.install \xmlsitemap_node_uninstall()
- 7.2 xmlsitemap_node/xmlsitemap_node.install \xmlsitemap_node_uninstall()
Implementation of hook_uninstall().
File
- xmlsitemap_node/
xmlsitemap_node.install, line 182
Code
function xmlsitemap_node_uninstall() {
db_query("DROP TABLE {xmlsitemap_node}");
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'xmlsitemap\\_node\\_%'");
while ($variable = db_fetch_array($settings)) {
variable_del($variable->name);
}
}