function xmlsitemap_enable in XML sitemap 6.2
Same name and namespace in other branches
- 5.2 xmlsitemap/xmlsitemap.install \xmlsitemap_enable()
- 5 xmlsitemap.install \xmlsitemap_enable()
- 6 xmlsitemap.install \xmlsitemap_enable()
- 7.2 xmlsitemap.install \xmlsitemap_enable()
Implements hook_enable().
File
- ./
xmlsitemap.install, line 330 - 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);
}