diff --git a/lib/classes/di.php b/lib/classes/di.php index 5142d7c26b5..7ce9ac29dcf 100644 --- a/lib/classes/di.php +++ b/lib/classes/di.php @@ -111,7 +111,7 @@ class di { $builder->addDefinitions([ // The hook manager should be in the container. \core\hook\manager::class => $hookmanager, - + // The database. \moodle_database::class => $DB,