Commit 6b5af456 authored by Dave Reid's avatar Dave Reid

by Dave Reid: Updated for 'path callback' entity property renamed to 'uri callback'.

parent 8cbbc5b9
......@@ -752,7 +752,7 @@ function xmlsitemap_get_link_info($type = NULL, $reset = FALSE) {
if (!isset($link_info)) {
$link_info = entity_get_info();
foreach ($link_info as $key => $info) {
if (empty($info['path callback']) || !isset($info['xmlsitemap'])) {
if (empty($info['uri callback']) || !isset($info['xmlsitemap'])) {
// Remove any non URL-able or XML sitemap un-supported entites.
unset($link_info[$key]);
}
......
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