You are here

function system_update_7047 in Drupal 7

Normalize the front page path variable.

Related topics

File

modules/system/system.install, line 2482
Install, update and uninstall functions for the system module.

Code

function system_update_7047() {
  variable_set('site_frontpage', drupal_get_normal_path(variable_get('site_frontpage', 'node')));
}