Fixed local_codechecker complaint
This commit is contained in:
parent
72c3b278e3
commit
4f4be1f918
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue