You are here

function xmlsitemap_node_uninstall in XML sitemap 6

Same name and namespace in other branches
  1. 5.2 xmlsitemap_node/xmlsitemap_node.install \xmlsitemap_node_uninstall()
  2. 5 xmlsitemap_node/xmlsitemap_node.install \xmlsitemap_node_uninstall()
  3. 6.2 xmlsitemap_node/xmlsitemap_node.install \xmlsitemap_node_uninstall()
  4. 7.2 xmlsitemap_node/xmlsitemap_node.install \xmlsitemap_node_uninstall()

Implementation of hook_uninstall().

File

xmlsitemap_node/xmlsitemap_node.install, line 267
Installation file for XML sitemap node.

Code

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