Commit d736de1a authored by gbyte.co's avatar gbyte.co

Issue #3002208 by gbyte.co: Remove robotstxt module support

parent b49d8c2a
......@@ -246,16 +246,3 @@ function simple_sitemap_delete_bundle_config($entity_type_id, $bundle) {
}
}
/**
* Implements hook_robotstxt().
*
* @todo Use sitemap base URL setting?
* @todo include non-default sitemaps as well?
*/
function simple_sitemap_robotstxt() {
return [
'# XML sitemaps',
'Sitemap: ' . $GLOBALS['base_url'] . '/sitemap.xml',
];
}
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