You are here

function date_api_update_8001 in Date 8

Moves Date API informational data from variable to config.

File

date_api/date_api.install, line 32
Install, update and uninstall functions for the date_api module.

Code

function date_api_update_8001() {
  update_variables_to_config('date_api.info', array(
    'date_max_year' => 'year.max',
    'date_min_year' => 'year.min',
    'date_php_min_year' => 'php_min_year',
    'date_api_version' => 'version',
    'date_db_tz_support' => 'db_tz_support',
  ));
}