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