Fixed local_codechecker complaint
This commit is contained in:
parent
6eb8e5b27c
commit
26cb3850f7
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