I need to test function xxx_update_grades in my module. How can I force Moodle to launch this function?
Your module needs to call it (the new gradebook is passive).
You could make a little test script to call it.
You could make a little test script to call it.
Passive?
Functions xxx_update_grades calls from grade_update_mod_grades in gradelib.php
When it used?
Functions xxx_update_grades calls from grade_update_mod_grades in gradelib.php
When it used?