You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
2 years ago
|
This files describes API changes in /admin/tool/* - plugins,
|
||
|
information provided here is intended especially for developers.
|
||
|
|
||
|
=== 3.6 ===
|
||
|
|
||
|
The assignment upgrade tool has been removed. If you need to upgrade assignments from before Moodle 2.3, you will have to upgrade to any Moodle version from 2.3 to 3.5, upgrade the assignments and then upgrade to a later version.
|
||
|
|
||
|
=== 2.2 ===
|
||
|
|
||
|
API changes:
|
||
|
* new admin tool plugin type introduced
|
||
|
|
||
|
|
||
|
How to migrate existing admin reports:
|
||
|
# move all files to new /admin/tool/yourplugin/ location
|
||
|
# update all links to admin tools /$CFG->admin/report/ to /$CFG->admin/tool/
|
||
|
# add language pack with at least 'pluginname' string
|
||
|
# update all language strings (use 'tool_yourplugin' instead of 'report_yourplugin') - use AMOS hints in commit message
|
||
|
# update all capability names
|
||
|
# create db/install.php migration script - delete old settings and capabilities (see converted plugins for examples)
|
||
|
# grep the plugin codebase and look for any remaining 'coursereport' occurrences
|
||
|
# update CSS selectors
|
||
|
|
||
|
See http://docs.moodle.org/dev/Admin_tools for more details and explanation.
|