1 system.install system_update_1080()

Set homepage to 'user' if blank to match previous behavior.

Related topics

File

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

Code

function system_update_1080() {
  $config = config('system.core');
  $site_frontpage = $config->get('site_frontpage');
  if (empty($site_frontpage)) {
    $config->set('site_frontpage', 'user');
  }
}