Commit c939ec13 authored by Dave Reid's avatar Dave Reid

Revert "Issue #2282333 by dpovshed, applicity_sam, Chris Matthews, RenatoG:...

Revert "Issue #2282333 by dpovshed, applicity_sam, Chris Matthews, RenatoG: Sitemap Generate - Allow for links to be altered"

This reverts commit 5852be75.
parent 5852be75
......@@ -219,9 +219,7 @@ function xmlsitemap_generate_chunk(stdClass $sitemap, XMLSitemapWriter $writer,
'query' => $parsed_url['query'],
'fragment' => $parsed_url['fragment'],
);
// Give other projects a chance to adjust the links that will be output.
drupal_alter('xmlsitemap_link', $link, $link_options);
// @todo Add a separate hook_xmlsitemap_link_url_alter() here?
$link_url = url($link['loc'], $link_options + $url_options);
// Skip this link if it was a duplicate of the last one.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment