Browse Source

Ajustes para Moodle 3.4

MOODLE_34_STABLE
Matheus Garcia 7 years ago
parent
commit
f31c599a2b
  1. 4
      lib.php

4
lib.php

@ -284,7 +284,7 @@ class enrol_ilbead_plugin extends enrol_plugin {
$timestart = time();
if ($instance->enrolperiod) {
$timeend = date("Y/m/d", (string)($timestart + $instance->enrolperiod));
list($year, $month, $day) = split("/", $timeend);
list($year, $month, $day) = explode("/", $timeend);
$timeend = (int)strtotime("$year-$month-$day 23:59:59");
} else {
@ -414,7 +414,7 @@ class enrol_ilbead_plugin extends enrol_plugin {
if ($rusers) {
$contact = reset($rusers);
} else {
$contact = generate_email_supportuser();
$contact = core_user::get_support_user();
}
// Directly emailing welcome message rather than using messaging.

Loading…
Cancel
Save