Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.7.6
-
Fix Version/s: None
-
Component/s: Badges
-
Labels:None
-
Affected Branches:MOODLE_37_STABLE
Description
Currently in the file badges_cron_task.php the query sees that the visible field of the course is true.
We hide courses when a date is reached but we leave enrolled students to finish the course.
In those cases, when the course is completed (the only criteria we use), the badge is not awarded.
I don't know if it would be a problem to remove that validation in the cron task, or make it variable depending on a configuration parameter.