Merge branch 'MDL-59070-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE

This commit is contained in:
Andrew Nicols
2018-03-13 13:23:10 +08:00
+1
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) {