Commit c6494717 authored by Dave Reid's avatar Dave Reid

by Dave Reid: Fixed ctools no longer recommended for D7 and fixed parameter...

by Dave Reid: Fixed ctools no longer recommended for D7 and fixed parameter typo in xmlsitemap_menu_xmlsitemap_process_menu_links().
parent 7fbc1303
......@@ -12,6 +12,5 @@ files[] = xmlsitemap.xmlsitemap.inc
files[] = xmlsitemap.pages.inc
files[] = xmlsitemap.install
files[] = xmlsitemap.test
recommends[] = dialog
recommends[] = robotstxt
configure = admin/config/search/xmlsitemap
......@@ -57,7 +57,7 @@ function xmlsitemap_menu_xmlsitemap_index_links($limit) {
/**
* Process menu sitemap links.
*
* @param $tids
* @param $mlids
* An array of menu link IDs.
*/
function xmlsitemap_menu_xmlsitemap_process_menu_links(array $mlids, array $xmlsitemap = array()) {
......@@ -85,7 +85,6 @@ function xmlsitemap_menu_xmlsitemap_process_menu_links(array $mlids, array $xmls
*/
function xmlsitemap_menu_form_menu_edit_menu_alter(&$form, $form_state) {
$menu = isset($form['menu_name']['#value']) ? $form['menu_name']['#value'] : '';
module_load_include('inc', 'xmlsitemap', 'xmlsitemap.admin');
xmlsitemap_add_link_bundle_settings($form, $form_state, 'menu', $menu);
}
......
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