Fixed local_codechecker complaint

This commit is contained in:
Mark Nelson 2017-04-26 21:57:02 +08:00
parent 72c3b278e3
commit 4f4be1f918

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;
}