summaryrefslogtreecommitdiffstats
path: root/core/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/system.install')
-rw-r--r--core/modules/system/system.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 68dd422..c0e3fe6 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -400,7 +400,7 @@ function system_requirements($phase) {
);
// Check installed modules.
- foreach (drupal_container()->get('module_handler')->getModuleList() as $module => $filename) {
+ foreach (module_list() as $module) {
$updates = drupal_get_schema_versions($module);
if ($updates !== FALSE) {
$default = drupal_get_installed_schema_version($module);