diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 281bd2e..c9e8175 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -1808,23 +1808,6 @@ function system_update_8011() { } /** - * Install the Stable base theme if needed. - */ -function system_update_8012() { - $theme_handler = \Drupal::service('theme_handler'); - // Ensure we have fresh info. - $theme_handler->rebuildThemeData(); - foreach ($theme_handler->listInfo() as $theme) { - // We first check that a base theme is set because if it's set to false then - // it's unset in \Drupal\Core\Extension\ThemeHandler::rebuildThemeData(). - if (isset($theme->info['base theme']) && $theme->info['base theme'] == 'stable') { - $theme_handler->install(['stable']); - return; - } - } -} - -/** * Enable automated cron module and move the config into it. */ function system_update_8013() { @@ -1856,14 +1839,13 @@ function system_update_8013() { */ /** - * Ensure Classy can use the Stable base theme. + * Install the Stable base theme if needed. */ function system_update_8014() { $theme_handler = \Drupal::service('theme_handler'); if ($theme_handler->themeExists('stable')) { return; } - // Ensure we have fresh info. $theme_handler->refreshInfo(); foreach ($theme_handler->listInfo() as $theme) { // We first check that a base theme is set because if it's set to false then