diff -u b/core/modules/system/system.module b/core/modules/system/system.module --- b/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -2797,18 +2797,6 @@ $record->status = 0; $record->schema_version = SCHEMA_UNINSTALLED; } - // Installed schema versions. - foreach (KeyValueFactory::get('system.module.schema')->getAll() as $module => $schema_version) { - // Due to upgrade there might be schema versions here that are not - // present. - if (isset($modules[$module])) { - $modules[$module]->schema_version = $schema_version; - } - } - // Disabled weights. - foreach (KeyValueFactory::get('system.module.weight')->getAll() as $module => $weight) { - $modules[$module]->weight = $weight; - } // Enabled status and weights. foreach (config('system.module')->get() as $module => $weight) { $modules[$module]->status = 1; @@ -2820,7 +2808,7 @@ system_list_reset(); $modules_cache['data'] = $modules; } - if (!isset($modules_cache['info_alter']) && drupal_get_bootstrap_phase() == DRUPAL_BOOTSTRAP_FULL) { + if (!isset($modules_cache['info_alter']) && drupal_get_bootstrap_phase() == DRUPAL_BOOTSTRAP_CODE) { // Invoke hook_system_info_alter() to give installed modules a chance to // modify the data in the .info files if necessary. It is not possible to // use drupal_alter() which relies on system_list() which relies on this diff -u b/core/modules/update/update.fetch.inc b/core/modules/update/update.fetch.inc --- b/core/modules/update/update.fetch.inc +++ b/core/modules/update/update.fetch.inc @@ -209,7 +209,7 @@ // hook_system_info_alter() such as cvs_deploy. _update_cache_clear('update_project_projects'); _update_cache_clear('update_project_data'); - drupal_static_reset('update_get_projects'); + //drupal_static_reset('update_get_projects'); $projects = update_get_projects(); only in patch2: unchanged: --- a/core/modules/system/system.admin.inc +++ b/core/modules/system/system.admin.inc @@ -1253,7 +1253,7 @@ function system_modules_uninstall($form, $form_state = NULL) { $all_modules = system_rebuild_module_data(); $disabled_modules = array(); foreach ($all_modules as $name => $module) { - if (empty($module->status) && $module->schema_version > SCHEMA_UNINSTALLED) { + if (empty($module->status) && drupal_get_installed_schema_version($module) > SCHEMA_UNINSTALLED) { $disabled_modules[$name] = $module; } }