function system_update_8010

Move RSS system settings from variable to config.

Related topics

File

drupal/core/modules/system/system.install, line 1364
Install, update and uninstall functions for the system module.

Code

function system_update_8010() {
  update_variables_to_config('system.rss', array(
    'feed_description' => 'channel.description',
    'feed_default_items' => 'items.limit',
    'feed_item_length' => 'items.view_mode',
  ));
}