function system_update_8001

Move from the Garland theme.

Related topics

File

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

Code

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