Merge branch 'MDL-59070-master' of https://github.com/lucaboesch/moodle

This commit is contained in:
Andrew Nicols 2018-03-13 13:21:09 +08:00
commit fe294b00ac

View File

@ -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) {