You are here

function xmlsitemap_enable in XML sitemap 7.2

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

Implements hook_enable().

File

./xmlsitemap.install, line 360
Install, update and uninstall functions for the xmlsitemap module.

Code

function xmlsitemap_enable() {

  // Ensure the file cache directory is available and ready.
  xmlsitemap_check_directory();
  variable_set('xmlsitemap_regenerate_needed', TRUE);
}