function locale_update_8017

Moves locale translation directory settings from variable to config.

Related topics

File

drupal/core/modules/locale/locale.install, line 975
Install, update, and uninstall functions for the Locale module.

Code

function locale_update_8017() {
  update_variables_to_config('locale.settings', array(
    'locale_translate_file_directory' => 'translation.path',
  ));
}