Modify Query for Activity Completion

Modify Query for Activity Completion

ved Luis Pinheiro -
Antal besvarelser: 0

Dear all,

I'm experiencing a disoncerting issue in which, after I modify a student's grade, the activity completion does not match the change and fails to produce the passing "check mark". We have a class with literally thousands of users and enough discrepancies occur to make my life a nightmare.

I noticed that the activity completion module produces its checkmarks not based on the grades_grade table but rather on the scorm_scoes_track table. I would like to modify the activity module function to look only at the grades_grade table to see if the user has passed or not.  I understand this means I must hard-code the grade on my modifications, but that is ok.

With that in mind, does anyone know WHERE the activity completion function(s) resides, with the proper queries? I can't seem to find it anywhere.

Much appreciated,

L

Gennemsnitsbedømmelse: -