You are here

function xmlsitemap_node_update_2 in XML sitemap 5

Implementation of hook_update_N(). Add missing nodes.

1 call to xmlsitemap_node_update_2()
xmlsitemap_node_update_3 in xmlsitemap_node/xmlsitemap_node.install
Implementation of hook_update_N(). Add missing URL aliases. Update last-changed times.

File

xmlsitemap_node/xmlsitemap_node.install, line 213

Code

function xmlsitemap_node_update_2() {
  $ret = array(
    update_sql(_xmlsitemap_node_insert_query()),
  );
  xmlsitemap_update_sitemap();
  return $ret;
}