Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M4 Deprecation warning #412

Open
rezeau opened this issue Jul 12, 2022 · 2 comments
Open

M4 Deprecation warning #412

rezeau opened this issue Jul 12, 2022 · 2 comments

Comments

@rezeau
Copy link
Contributor

rezeau commented Jul 12, 2022

Questionnaire 2022030301 on Moodle 4.0.2 Debug Full On
When setting Completion tracking I get this error message:
_get_completion_state() callback functions such as questionnaire_get_completion_state have been deprecated and should no longer be used. Please implement the custom completion class mod_questionnaire\completion\custom_completion which extends \core_completion\activity_custom_completion.

line 729 of \lib\completionlib.php: call to debugging()
line 666 of \lib\completionlib.php: call to completion_info->internal_get_state()
line 1004 of \lib\completionlib.php: call to completion_info->update_state()
line 690 of \course\modlib.php: call to completion_info->reset_all_state()
line 168 of \course\modedit.php: call to update_moduleinfo()
@rezeau
Copy link
Contributor Author

rezeau commented Jul 12, 2022

Just noticed that this new "custom completion class" won't be deprecated before Moodle 4.3.
@deprecated since Moodle 3.11
@todo MDL-71196 Final deprecation in Moodle 4.3

@mchurchward
Copy link
Contributor

I believe this may have been dealt with in #430
Can you confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants