Merge branch 'wip-MDL-31948-master' of git://github.com/phalacee/moodle
[moodle.git] / admin / tool / upgrade.txt
blob3af7d3a1b29c52290b1f2a120b0bcbcc1f4ec20c
1 This files describes API changes in /admin/tool/* - plugins,
2 information provided here is intended especially for developers.
5 === 2.2 ===
7 API changes:
8 * new admin tool plugin type introduced
11 How to migrate existing admin reports:
12 # move all files to new /admin/tool/yourplugin/ location
13 # update all links to admin tools /$CFG->admin/report/ to /$CFG->admin/tool/
14 # add language pack with at least 'pluginname' string
15 # update all language strings (use 'tool_yourplugin' instead of 'report_yourplugin') - use AMOS hints in commit message
16 # update all capability names
17 # create db/install.php migration script - delete old settings and capabilities (see converted plugins for examples)
18 # grep the plugin codebase and look for any remaining 'coursereport' occurrences
19 # update CSS selectors
21 See http://docs.moodle.org/dev/Admin_tools for more details and explanation.