Compare commits

...

1 Commits

Author SHA1 Message Date
Matheus Garcia f31c599a2b Ajustes para Moodle 3.4 7 years ago
  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