catalyst / moodle-mod_reengagement

Allows timed release of content and emails users to remind them to complete a course activity
23 stars 40 forks source link

deprecated _get_completion_state() #102

Closed sumaiyamannan closed 2 years ago

sumaiyamannan commented 2 years ago

The precise errors that has been resolved are:

*_get_completion_state() callback functions such as reengagement_get_completion_state have been deprecated and should no longer be used. Please implement the custom completion class mod_reengagement\completion\custom_completion which extends \core_completion\activity_custom_completion.

line 738 of /lib/completionlib.php: call to debugging()
line 659 of /lib/completionlib.php: call to completion_info->internal_get_state()
line 995 of /lib/completionlib.php: call to completion_info->update_state()
line 661 of /course/modlib.php: call to completion_info->reset_all_state()
line 166 of /course/modedit.php: call to update_moduleinfo()