function contact_update_8000

Moves contact setting from variable to config.

Related topics

File

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

Code

function contact_update_8000() {
  update_variables_to_config('contact.settings', array(
    'contact_default_status' => 'user_default_enabled',
    'contact_threshold_limit' => 'flood.limit',
    'contact_threshold_window' => 'flood.interval',
  ));
}