function xmlsitemap_node_node_type in XML sitemap 5
Same name and namespace in other branches
- 5.2 xmlsitemap_node/xmlsitemap_node.module \xmlsitemap_node_node_type()
- 6.2 xmlsitemap_node/xmlsitemap_node.module \xmlsitemap_node_node_type()
- 6 xmlsitemap_node/xmlsitemap_node.module \xmlsitemap_node_node_type()
Implementation of hook_node_type().
Related topics
File
- xmlsitemap_node/
xmlsitemap_node.module, line 359 - Adds nodes to the site map.
Code
function xmlsitemap_node_node_type($op, $info) {
if ($op == 'delete' && variable_get("xmlsitemap_node_type_priority_{$info->old_type}", 0.5) != 0.5) {
xmlsitemap_update_sitemap();
}
}