diff --git a/core/includes/common.inc b/core/includes/common.inc index f58fc1b..f076170 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -2861,7 +2861,7 @@ function drupal_flush_all_caches() { $files[$name] = $extension; } } - \Drupal::service('kernel')->updateModules($module_handler->getModuleList(), $files); + \Drupal::service('kernel')->updateModules(\Drupal::config('core.extension')->get('module'), $files); // New container, new module handler. $module_handler = \Drupal::moduleHandler();