Commit 61de42a0 authored by Dries's avatar Dries
Browse files

Issue #1948650 by swentel, chx: update is broken.

parent 6122e84e
......@@ -388,6 +388,7 @@ function update_prepare_d8_bootstrap() {
$disabled_modules->save();
$theme_config->save();
$disabled_themes->save();
Drupal::service('kernel')->updateModules($sorted_with_filenames, $sorted_with_filenames);
// Migrate the private key to state. This is used to create the token for
// the upgrade batch so needs to be be done before the upgrade has begun.
......
......@@ -46,6 +46,9 @@
* Renders a form with a list of available database updates.
*/
function update_selection_page() {
// Make sure there is no stale theme registry.
cache()->deleteAll();
drupal_set_title('Drupal database update');
$elements = drupal_get_form('update_script_selection_form');
$output = drupal_render($elements);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment