MDL-67585 core_course: deprecate the callback get_shortcuts()
authorJake Dallimore <jake@moodle.com>
Fri, 31 Jan 2020 23:45:46 +0000 (07:45 +0800)
committerJake Dallimore <jake@moodle.com>
Thu, 20 Feb 2020 03:42:21 +0000 (11:42 +0800)
commit520add19d6c8b7f1cd69c37869acc88f6608d426
treed43baaf448e39c82704fa1794ae72d078e48a6e2
parent39b9e293e738204d9d707bf1f2a870091583a99d
MDL-67585 core_course: deprecate the callback get_shortcuts()

This involves a few changes:
- The callback is still called by the repository but only if the
replacement callback get_course_content_items is not implemented.
- Debugging is called when the get_shortcuts callback is called.
- We leave lti's implementation of get_shortcuts alone, in order to
maintain the output of get_module_metadata during its deprecation life
span.
course/classes/local/repository/content_item_readonly_repository.php
mod/lti/lib.php
mod/lti/source/upgrade.txt
mod/upgrade.txt