function xmlsitemap_user_uninstall in XML sitemap 5.2
Same name and namespace in other branches
- 5 xmlsitemap_user/xmlsitemap_user.install \xmlsitemap_user_uninstall()
- 6.2 xmlsitemap_user/xmlsitemap_user.install \xmlsitemap_user_uninstall()
- 6 xmlsitemap_user/xmlsitemap_user.install \xmlsitemap_user_uninstall()
- 7.2 xmlsitemap_user/xmlsitemap_user.install \xmlsitemap_user_uninstall()
Implementation of hook_uninstall().
File
- xmlsitemap_user/
xmlsitemap_user.install, line 98 - XML sitemap user install file
Code
function xmlsitemap_user_uninstall() {
db_query("DROP TABLE {xmlsitemap_user}");
db_query("DROP TABLE {xmlsitemap_user_role}");
db_query("DELETE FROM {variable} WHERE name LIKE 'xmlsitemap\\_user\\_%'");
}