1 system.install system_update_1001()

Move from the Garland theme.

Related topics

File

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

Code

function system_update_1001() {
  $themes = array('theme_default', 'maintenance_theme', 'admin_theme');
  foreach ($themes as $theme) {
    if (update_variable_get($theme) == 'garland') {
      update_variable_set($theme, 'bartik');
    }
  }
}