mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
MDL-59070 enrol_database: Take enablecompletion from template
This commit is contained in:
parent
1287039e62
commit
c936af395e
@ -782,6 +782,7 @@ class enrol_database_plugin extends enrol_plugin {
|
||||
$template->groupmodeforce = $courseconfig->groupmodeforce;
|
||||
$template->visible = $courseconfig->visible;
|
||||
$template->lang = $courseconfig->lang;
|
||||
$template->enablecompletion = $courseconfig->enablecompletion;
|
||||
$template->groupmodeforce = $courseconfig->groupmodeforce;
|
||||
$template->startdate = usergetmidnight(time());
|
||||
if ($courseconfig->courseenddateenabled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user