You are here

function xmlsitemap_node_comment_update in XML sitemap 7.2

Implements hook_comment_update().

3 calls to xmlsitemap_node_comment_update()
xmlsitemap_node_comment_delete in xmlsitemap_node/xmlsitemap_node.module
Implements hook_comment_delete().
xmlsitemap_node_comment_publish in xmlsitemap_node/xmlsitemap_node.module
Implements hook_comment_publish().
xmlsitemap_node_comment_unpublish in xmlsitemap_node/xmlsitemap_node.module
Implements hook_comment_unpublish().

File

xmlsitemap_node/xmlsitemap_node.module, line 118
Default file for XML sitemap node.

Code

function xmlsitemap_node_comment_update(stdClass $comment) {
  if ($node = entity_load_unchanged('node', $comment->nid)) {
    xmlsitemap_node_node_update($node);
  }
}