[AMOS commit] MDL-71288 completion: add fallback for plugins Committed into Git: 2021-04-19 09:11 UTC

[AMOS commit] MDL-71288 completion: add fallback for plugins Committed into Git: 2021-04-19 09:11 UTC

by AMOS bot -
Number of replies: 0
Author: Simey Lameze
MDL-71288 completion: add fallback for plugins
This commits adds a fallback for plugins which does not have
custom_completion implementation.

For those cases, it will search for {modulename}_get_completion_state
callback in the plugin and call get_overall_completion() method in
cm_completion_details class to get the overall completion state for
a course module and user.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=068f965a0abbad96ccbfab85e6bb5e1770f00af6
http://github.com/moodle/moodle/commit/068f965a0abbad96ccbfab85e6bb5e1770f00af6

+ 3.11 en [completeactivity,core_completion]