You are here

function xmlsitemap_engines_uninstall in XML sitemap 5

Same name and namespace in other branches
  1. 5.2 xmlsitemap_engines/xmlsitemap_engines.install \xmlsitemap_engines_uninstall()
  2. 6.2 xmlsitemap_engines/xmlsitemap_engines.install \xmlsitemap_engines_uninstall()
  3. 6 xmlsitemap_engines/xmlsitemap_engines.install \xmlsitemap_engines_uninstall()
  4. 7.2 xmlsitemap_engines/xmlsitemap_engines.install \xmlsitemap_engines_uninstall()

Implementation of hook_uninstall().

File

xmlsitemap_engines/xmlsitemap_engines.install, line 39

Code

function xmlsitemap_engines_uninstall() {
  $settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'xmlsitemap\\_engines\\_'");
  while ($variable = db_fetch_object($settings)) {
    variable_del($variable->name);
  }
}