summaryrefslogtreecommitdiffstats
path: root/core/scripts/dump-database-d6.sh
diff options
context:
space:
mode:
Diffstat (limited to 'core/scripts/dump-database-d6.sh')
-rw-r--r--core/scripts/dump-database-d6.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/scripts/dump-database-d6.sh b/core/scripts/dump-database-d6.sh
index 106568d..d39bb43 100644
--- a/core/scripts/dump-database-d6.sh
+++ b/core/scripts/dump-database-d6.sh
@@ -44,7 +44,7 @@ $output = <<<ENDOFHEADER
ENDOFHEADER;
-foreach (drupal_container()->get('module_handler')->getModuleList() as $module => $filename) {
+foreach (module_list() as $module) {
$output .= " * - $module\n";
}
$output .= " */\n\n";