Commit 8ff6e830 authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Removed debugging line and unnecessary code from xmlsitemap_user.

parent 48011397
......@@ -10,34 +10,8 @@ function xmlsitemap_user_entity_info_alter(&$entity_info) {
'process callback' => 'xmlsitemap_user_xmlsitemap_process_user_links',
);
$entity_info['user']['bundles']['user']['xmlsitemap'] = array('status' => 1);
dpm($entity_info);
}
/**
* Implements hook_xmlsitemap_link_info().
*/
/*function xmlsitemap_user_xmlsitemap_link_info() {
$types['user'] = array(
'label' => t('Users'),
'bundle label' => t('Users'),
'base table' => 'users',
'object keys' => array(
'id' => 'uid',
),
'bundles' => array(
'user' => array(
'label' => t('Users'),
),
),
'path callback' => 'user_path',
'load hook' => 'user_load',
'xmlsitemap' => array(
'process callback' => 'xmlsitemap_user_xmlsitemap_process_user_links',
),
);
return $types;
}*/
/**
* Implements hook_cron().
*
......
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