You are here

function xmlsitemap_uninstall in XML sitemap 6

Same name and namespace in other branches
  1. 8 xmlsitemap.install \xmlsitemap_uninstall()
  2. 5.2 xmlsitemap/xmlsitemap.install \xmlsitemap_uninstall()
  3. 5 xmlsitemap.install \xmlsitemap_uninstall()
  4. 6.2 xmlsitemap.install \xmlsitemap_uninstall()
  5. 7.2 xmlsitemap.install \xmlsitemap_uninstall()
  6. 2.x xmlsitemap.install \xmlsitemap_uninstall()

Implementation of hook_uninstall().

File

./xmlsitemap.install, line 605
Installation file for XML sitemap.

Code

function xmlsitemap_uninstall() {
  drupal_uninstall_schema('xmlsitemap');
  db_query("DELETE FROM {variable} WHERE name LIKE 'xmlsitemap\\_%'");
}