You are here

function xmlsitemap_settings_engines_submit in XML sitemap 5

Same name and namespace in other branches
  1. 5.2 xmlsitemap/xmlsitemap.module \xmlsitemap_settings_engines_submit()

Submit search engine settings form.

Related topics

File

./xmlsitemap.module, line 166
Creates a site map compatible with the sitemaps.org schema.

Code

function xmlsitemap_settings_engines_submit($form_id, $form_values) {
  if ($form_values['xmlsitemap_root']) {
    $form_values['xmlsitemap_submit'] = FALSE;
    $form_values['xmlsitemap_log_access'] = FALSE;
  }
  system_settings_form_submit($form_id, $form_values);
}