Fixed local_codechecker complaint

This commit is contained in:
Mark Nelson 2017-04-26 21:57:02 +08:00
parent 6eb8e5b27c
commit 26cb3850f7

View file

@ -117,8 +117,8 @@ class email_certificate_task extends \core\task\scheduled_task {
}
// Check that they have passed the required time.
if (\mod_customcert\certificate::get_course_time($customcert->courseid, $enroluser->id) <
($customcert->requiredtime * 60)) {
if (\mod_customcert\certificate::get_course_time($customcert->courseid,
$enroluser->id) < ($customcert->requiredtime * 60)) {
continue;
}