1 system.install system_update_1050()

Fix legacy color setting in Bartik.

Related topics

File

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

Code

function system_update_1050() {
  $config = config('bartik.settings');
  if ($config->get('legacy')) {
    $config->set('color_legacy', TRUE);
    $config->clear('legacy');
    $config->save();
  }
}