Moodle V3
I have a Module (A), that has restricted access setup.
Here are the rules:
To Access Module (A):
Module(B) must be completed
Module(C) must be completed
Module(D) must be completed
My question is, what field in the database is checked for 'completed status', and in what table?
I ask because there is an instance where a student has Modules (B) and Module(C) completed, but Module(A) has not been unlocked, and it still says Module(D) must be completed to unlock Module(A).
From what I can see is that the student has completed Module(D), it has been submitted and graded. So i'm looking in the database for possibly a missing flag that its completed, to see where it has went wrong.