You are here

function site_map_update_7000 in Site map 7

Upgrade site map message format setting.

File

./site_map.install, line 34
The install and update code for the site_map module.

Code

function site_map_update_7000() {
  variable_set('site_map_message', array(
    'value' => variable_get('site_map_message', ''),
    'format' => variable_get('site_map_message_format', filter_default_format()),
  ));
  variable_del('site_map_message_format');
  return t('Successfully upgraded site map message format setting.');
}